Re: [PATCH] diff: add --no-diff-deleted to make -p more pleasant
Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> 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
Cool, didn't notice this feature before. Thanks.
Show 7 quoted lines
> when you are not using rename/copy detection (and a byte
> shorter). Or maybe improve its syntax to also take:
>
> --diff-filter=-D
>
> That is, a minus followed by list of undesired change class
> letters.
Hmm.. maybe another day. AM is good enough for now.
--
Eric Wong