Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/2] add--interactive: ignore mode change in 'p'atch command

From: Jeff King <hidden>
Date: 2016-06-15 22:44:26

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help