Re: [PATCH] files given on the command line are relative to $cwd
- From
Samuel Tardieu <sam@rfc1149.net>
- Date
- Aug 7, 2008, 08:45 UTC
- Message-ID
- <2008-08-07-10-45-21+trackit+sam@rfc1149.net>
- In-Reply-To
- <7vr692oufw.fsf@gitster.siamese.dyndns.org>
>>>>> "Junio" == Junio C Hamano <gitster@pobox.com> writes:
Junio> When running "git commit -F file" and "git tag -F file" from a Junio> subdirectory, we should take it as relative to the directory we Junio> started from, not relative to the top-level directory.
Don't we have the same problem with "git show"? If you go into the "gitweb" directory of the GIT source, "git show HEAD:README" will show you the toplevel "README" instead of the one in the "gitweb" directory.
Sam
-- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/