Code

checkout: work from a subdirectory
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Feb 2008 23:54:54 +0000 (15:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Feb 2008 00:07:20 +0000 (16:07 -0800)
commit6010d2d957fb05838cd3ab887ac261752ff8ff87
tree049bfc4f7ff92b6113686ac429b76e66dc9dcad4
parentb0030db331141bedfaf02f34a83f18712c0ae011
checkout: work from a subdirectory

When switching branches from a subdirectory, checkout rewritten
in C extracted the toplevel of the tree in there.

This should fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c
t/t7201-co.sh