Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH 2/4] Teach git-add--interactive to accept a file path to patch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:53

Jeff King [off-list ref] writes:
On Wed, Nov 21, 2007 at 04:18:57PM -0800, Junio C Hamano wrote:
quoted
What I meant was that if "git add -i" (unrestricted) shows paths
from a set A, "git add -i paths..." should show paths from a
subset of the set A and that subset should be defined with the
existing ls-files pathspec semantics.
Ah, I think that is definitely the right behavior. But it does raise one
more question: is going right into the 'add hunk' interface the correct
behavior, or is that an orthogonal issue?
I am moderately negative about "paths imply jump to patch
subcommand".  An option to git-add--interactive that tells which
subcommand to initially choose is probably acceptable, though.

Would the patch I just sent out (you need to assemble the parts)
make things easier?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help