summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-04-20 03:39:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-20 03:39:38 -0700
commit21590d5262f71b336926a9d2cec5b04b0aa6c4a0 (patch)
tree662395c3342bba6fb86898f4ea5521f0846571ec /git-add--interactive.perl
parentSync with 1.6.2.4 (diff)
parentgit add -p: add missing "q" to patch prompt (diff)
downloadtgif-21590d5262f71b336926a9d2cec5b04b0aa6c4a0.tar.xz
Merge branch 'mm/maint-add-p-quit'
* mm/maint-add-p-quit: git add -p: add missing "q" to patch prompt
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-xgit-add--interactive.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index 60dd1b5be2..f6e536ece3 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -1049,7 +1049,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) {