]> git.ipfire.org Git - thirdparty/git.git/commit - branch.c
Add branch --set-upstream
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Mon, 18 Jan 2010 20:44:11 +0000 (22:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jan 2010 01:09:32 +0000 (17:09 -0800)
commit4fc500667636c4ada592a40c4d11ce0560c43c0d
tree78c07862f09c2b89339a53a287a4f5540dc73a4c
parentff6d26a0e1d8fad775010fa3b689c0c027da8bb0
Add branch --set-upstream

Add --set-upstream option to branch that works like --track, except that
when branch exists already, its upstream info is changed without changing
the ref value.

Based-on-patch-from: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
branch.c
builtin-branch.c
cache.h
t/t6040-tracking-info.sh