Extend "checkout --track" DWIM to support more cases
commit9188ed8962ed47c0f41c24eb1317aa07037da545
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 21 Aug 2008 17:23:20 +0000 (21 19:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Aug 2008 00:18:26 +0000 (22 17:18 -0700)
treeab528a64f51ccc6ac1ca920a39b82725e6d7c317
parenta19a424010970a076a51afb4b378c9edcd908ff9
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>
Documentation/git-checkout.txt
builtin-checkout.c
cache.h
t/t7201-co.sh