summaryrefslogtreecommitdiff
path: root/compat/basename.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-04-29 15:12:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-29 15:25:03 -0700
commitf5ea3f2bb30bf912d0021ef6a77e772ccdb4f8fd (patch)
tree7e4c446abe293f98e0641a0e90519fe85391067a /compat/basename.c
parentapply: do not patch lines that were already patched (diff)
downloadtgif-f5ea3f2bb30bf912d0021ef6a77e772ccdb4f8fd.tar.xz
add -p: 'q' should really quit
The "quit" command was added in 9a7a1e0 (git add -p: new "quit" command at the prompt, 2009-04-10) to allow the user to say that hunks other than what have already been chosen are undesirable, and exit the interactive loop immediately. It forgot that there may be an undecided hunk before the current one. In such a case, the interactive loop still goes back to the beginning. Clear all the USE bit for undecided hunks and exit the loop. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/basename.c')
0 files changed, 0 insertions, 0 deletions