From: Junio C Hamano Date: Sun, 29 Jan 2006 20:12:32 GMT Subject: Re: [PATCH] diff: add --no-diff-deleted to make -p more pleasant Message-ID: <7vy80ykd3j.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060129142403.GA15482@Muzzle> Eric Wong 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). Or maybe improve its syntax to also take: --diff-filter=-D That is, a minus followed by list of undesired change class letters.