Re: cvs diff -l equivalent?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen R. van den Berg <srb@...>
Cc: <git@...>
Date: Wednesday, July 30, 2008 - 10:00 am

Stephen R. van den Berg wrote:

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^ | cu=
t -f2)


=2D Thomas
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cvs diff -l equivalent?, Stephen R. van den Berg, (Wed Jul 30, 4:20 am)
Re: cvs diff -l equivalent?, Linus Torvalds, (Wed Jul 30, 5:25 pm)
Re: cvs diff -l equivalent?, Mikael Magnusson, (Wed Jul 30, 4:57 pm)
Re: cvs diff -l equivalent?, Thomas Rast, (Wed Jul 30, 10:00 am)
Re: cvs diff -l equivalent?, Stephen R. van den Berg, (Wed Jul 30, 12:17 pm)
Re: cvs diff -l equivalent?, Johannes Schindelin, (Wed Jul 30, 9:53 am)
Re: cvs diff -l equivalent?, Stephen R. van den Berg, (Wed Jul 30, 11:58 am)
Re: cvs diff -l equivalent?, Johannes Schindelin, (Wed Jul 30, 2:18 pm)