From: Jeff King Date: Thu, 27 Mar 2008 22:16:17 GMT Subject: Re: [PATCH 1/2] add--interactive: ignore mode change in 'p'atch command Message-ID: <20080327221616.GA28179@coredump.intra.peff.net> In-Reply-To: On Thu, Mar 27, 2008 at 12:51:04PM -0700, Jakub Narebski wrote: > Well, one hypothetical situation where having mode-change as 0th > pseudo-hunk in git-add--interactive would be useful is the situation > where you have changed file mode by accident, and do not want it > staged (included in the commit), at all. FWIW, the diff "header" that "git add -p" gives you now does mention the mode change. But it's very easy to miss, since you are presumably looking for the hunk text. Asking is much nicer, IMHO. -Peff