Re: Odd results writing a Git pre-receive hook to syntax check PHP files.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 30, 2010, 14:16 UTC
- Message-ID
- <20100830141602.GF2315@burratino>
- In-Reply-To
- <AANLkTimqzDO49h40b16gQ_=X42NXN-wZNV7d7f3KYygt@mail.gmail.com>
Chris Patti wrote:
> That's great, thanks! That gets me the file names. Now, how do I get > to the contents of each file?
Why not "git diff --raw" (or its plumbing equivalent "git diff-tree")?