From: Eric Wong <normalperson@yhbt.net>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] diff: add --no-diff-deleted to make -p more pleasant
Date: Sun, 29 Jan 2006 16:38:20 -0800 [thread overview]
Message-ID: <20060130003820.GE15482@Muzzle> (raw)
In-Reply-To: <7vy80ykd3j.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> 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
Cool, didn't notice this feature before. Thanks.
> 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
next prev parent reply other threads:[~2006-01-30 0:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-29 14:24 [PATCH] diff: add --no-diff-deleted to make -p more pleasant Eric Wong
2006-01-29 20:12 ` Junio C Hamano
2006-01-30 0:38 ` Eric Wong [this message]
2006-01-30 18:08 ` Jon Loeliger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060130003820.GE15482@Muzzle \
--to=normalperson@yhbt.net \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.