diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-08-21 19:23:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-22 17:18:26 -0700 |
commit | 9188ed8962ed47c0f41c24eb1317aa07037da545 (patch) | |
tree | ab528a64f51ccc6ac1ca920a39b82725e6d7c317 /cache.h | |
parent | a19a424010970a076a51afb4b378c9edcd908ff9 (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |