aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>2010-01-18 22:44:11 +0200
committerJunio C Hamano <gitster@pobox.com>2010-01-18 17:09:32 -0800
commit4fc500667636c4ada592a40c4d11ce0560c43c0d (patch)
tree78c07862f09c2b89339a53a287a4f5540dc73a4c /cache.h
parentff6d26a0e1d8fad775010fa3b689c0c027da8bb0 (diff)
downloadgit-4fc500667636c4ada592a40c4d11ce0560c43c0d.tar.gz
git-4fc500667636c4ada592a40c4d11ce0560c43c0d.tar.xz
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>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index cf36c8160..e9ec537fe 100644
--- a/cache.h
+++ b/cache.h
@@ -553,6 +553,7 @@ enum branch_track {
BRANCH_TRACK_REMOTE,
BRANCH_TRACK_ALWAYS,
BRANCH_TRACK_EXPLICIT,
+ BRANCH_TRACK_OVERRIDE,
};
enum rebase_setup_type {