summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2008-08-21 19:23:20 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-22 17:18:26 -0700
commit9188ed8962ed47c0f41c24eb1317aa07037da545 (patch)
treeab528a64f51ccc6ac1ca920a39b82725e6d7c317 /cache.h
parenta19a424010970a076a51afb4b378c9edcd908ff9 (diff)
downloadgit-9188ed8962ed47c0f41c24eb1317aa07037da545.tar.gz
Extend "checkout --track" DWIM to support more cases
The code handles additionally "refs/remotes/<something>/name", "remotes/<something>/name", and "refs/<namespace>/name". Signed-off-by: Alex Riesen <raa.lkml@gmail.com> 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 928ae9f148..a097a959bd 100644
--- a/cache.h
+++ b/cache.h
@@ -451,6 +451,7 @@ enum safe_crlf {
extern enum safe_crlf safe_crlf;
enum branch_track {
+ BRANCH_TRACK_UNSPECIFIED = -1,
BRANCH_TRACK_NEVER = 0,
BRANCH_TRACK_REMOTE,
BRANCH_TRACK_ALWAYS,