From: Junio C Hamano Date: Sat, 11 Apr 2009 19:22:58 GMT Subject: Re: [RFC PATCH] git add -p: new "quit" command at the prompt. Message-ID: <7vws9rdmgd.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1239375421-2556-1-git-send-email-Matthieu.Moy@imag.fr> Matthieu Moy writes: > 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.