From: Jonathan Nieder Date: Mon, 30 Aug 2010 14:16:02 GMT Subject: Re: Odd results writing a Git pre-receive hook to syntax check PHP files. Message-ID: <20100830141602.GF2315@burratino> In-Reply-To: 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")?