Re: [RFC PATCH] git add -p: new "quit" command at the prompt.
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 7 quoted lines
> There's already 'd' to stop staging hunks in a file, but no command to
> stop the interactive staging (for the current files and the remaining
> ones). This patch implements this functionality, and binds it to 'q'.
> ---
>
> I'm not familiar at all with the code in git-add--interactive.perl, so
> my code is mostly cut-and-pasted+adapted from the 'd' command.
You can say 'd' and then ^C, I think.