Re: [PATCH] git-checkout: Test for relative path use.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 9, 2007, 01:28 UTC
- Message-ID
- <7vtznwxl59.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <11945685732608-git-send-email-dsymonds@gmail.com>
David Symonds <dsymonds@gmail.com> writes:
Show 5 quoted lines
> Signed-off-by: David Symonds <dsymonds@gmail.com> > --- > Test 5 in this series fails because of a bug in git-ls-files, where > git-ls-files t/../ > (with or without --full-name) returns no files.
Heh, you shouldn't do that ;-)
Seriously, that's a long standing limitation in the code, not to deal with arbitrary combination of ups and downs, but I do not think there is any fundamental reason to disallow something like:
cd Documentation && git ls-files --full-name ../t
Patches welcome.