Re: Git on Windows, CRLF issues
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Apr 24, 2008, 06:25 UTC
- Message-ID
- <481027F4.5060905@viscovery.net>
- In-Reply-To
- <32541b130804231302i732dbf08v88f8909f241ab99@mail.gmail.com>
Avery Pennarun schrieb:
Show 8 quoted lines
> On 4/23/08, Johannes Sixt <j.sixt@viscovery.net> wrote: >> In practice, this is not sufficient. The blob filter must have an >> opportunity to decide what it wants to do, not just blindly munge every >> blob. The minimum is a path name, e.g. in $1: > > Actually, it may not have been intentional, but because of the way > 'eval' works, the munge script will find that $path already contains > the path of the file being munged. Works for me.
Yes, of course! So I stand corrected, and Jeff's patch makes sense.
For consistency's sake, the path should be made available in, say, GIT_BLOB_PATH just like the commit is available in GIT_COMMIT.
-- Hannes