Skip to content

Commit

Permalink
Merge branch 'mm/maint-add-p-quit' into maint
Browse files Browse the repository at this point in the history
* mm/maint-add-p-quit:
  git add -p: add missing "q" to patch prompt
  • Loading branch information
Junio C Hamano committed May 3, 2009
2 parents 7d71be2 + a2fc8d6 commit 00473fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 00473fd

Please sign in to comment.