From: Thomas Rast Date: Wed, 30 Jul 2008 14:00:41 GMT Subject: Re: cvs diff -l equivalent? Message-ID: <200807301600.44205.trast@student.ethz.ch> In-Reply-To: <20080730082030.GA12555@cuci.nl> Stephen R. van den Berg wrote: > Someone popped this question on me. The closest I got was: > > git diff . > > But that still recurses. Any solutions without patching? Maybe a scripted version? For just 'git diff .', this should work: git diff $(git ls-files . | grep -v /) That will still do the wrong thing if you diff against an older commit with a different list of files. In that case you need the list of files in the other side of the diff too: git diff HEAD^.. -- $(git ls-files . | grep -v /; git ls-tree HEAD^ | cut -f2) - Thomas