From: Johannes Schindelin Date: Wed, 30 Jul 2008 18:18:27 GMT Subject: Re: cvs diff -l equivalent? Message-ID: In-Reply-To: <20080730155853.GA27166@cuci.nl> Hi, On Wed, 30 Jul 2008, Stephen R. van den Berg wrote: > Johannes Schindelin wrote: > >On Wed, 30 Jul 2008, Stephen R. van den Berg wrote: > >> Someone popped this question on me. > > >I do not know cvs that well anymore. So I do not know what -l does. Care > >to explain? > > Usage: cvs diff [-lR] [-k kopt] [format_options] > [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...] > -l Local directory only, not recursive > > It shows the diff for all files in the current directory, nothing > deeper, nothing higher. Okay. This is my version of a solution: $ find . -maxdepth 1 -type f -print0 | xargs -0 git diff And no, there is not an easier way. Probably since Git has a snapshot based idea of the contents, i.e. it does not think that the files in a revision are decoupled. Not even the ones in different directories. Ciao, Dscho