From: Wincent Colaiuta Date: Mon, 20 Apr 2009 09:42:52 +0000 (+0200) Subject: git add -p: add missing "q" to patch prompt X-Git-Tag: v1.6.3-rc2~36^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a2fc8d65368a23a8a5f708b36c761c2d0d133ea6;p=git.git git add -p: add missing "q" to patch prompt Commit cbd3a01 added a new "q" subcommand to the "git add -p" command loop, but forgot to add it to the prompt. Signed-off-by: Wincent Colaiuta Signed-off-by: Junio C Hamano --- diff --git a/git-add--interactive.perl b/git-add--interactive.perl index 566e3710f..5407b2e1b 100755 --- a/git-add--interactive.perl +++ b/git-add--interactive.perl @@ -1045,7 +1045,7 @@ sub patch_update_file { } print colored $prompt_color, 'Stage ', ($hunk[$ix]{TYPE} eq 'mode' ? 'mode change' : 'this hunk'), - " [y,n,a,d,/$other,?]? "; + " [y,n,q,a,d,/$other,?]? "; my $line = prompt_single_character; if ($line) { if ($line =~ /^y/i) {