On Sun, 2006-01-29 at 14:12, Junio C Hamano wrote: > Eric Wong <normalperson@yhbt.net> writes: > > > This is a feature I've stol^Wborrowed from svn that I find very > > useful since I usually don't care to see what I've deleted. > > There is a thing called --diff-filter, and > > git diff -p --no-diff-deleted > > is equivalent to > > git diff -p --diff-filter=AM > > when you are not using rename/copy detection (and a byte > shorter). Hmmm.... I think this may be the problem: % grep -r diff-filter Documentation/ Documentation/git-diff.txt:$ git diff --diff-filter=MRC <1> And that is: Limiting the diff output:: + ------------ $ git diff --diff-filter=MRC <1> $ git diff --name-status -r <2> $ git diff arch/i386 include/asm-i386 <3> <1> show only modification, rename and copy, but not addition nor deletion. <2> show only names and the nature of change, but not actual diff output. --name-status disables usual patch generation which in turn also disables recursive behaviour, so without -r you would only see the directory name if there is a change in a file in a subdirectory. <3> limit diff output to named subtrees. That's pretty thin documentation there. Unless someone beats me to it, I'll try to find a spare documentation cycle... jdl - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Jan 31 05:09:36 2006
This archive was generated by hypermail 2.1.8 : 2006-01-31 05:09:47 EST