Skip to content

Commit 21590d5

Browse files
committed
Merge branch 'mm/maint-add-p-quit'
* mm/maint-add-p-quit: git add -p: add missing "q" to patch prompt
2 parents 66996ec + a2fc8d6 commit 21590d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-add--interactive.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ sub patch_update_file {
10491049
}
10501050
print colored $prompt_color, 'Stage ',
10511051
($hunk[$ix]{TYPE} eq 'mode' ? 'mode change' : 'this hunk'),
1052-
" [y,n,a,d,/$other,?]? ";
1052+
" [y,n,q,a,d,/$other,?]? ";
10531053
my $line = prompt_single_character;
10541054
if ($line) {
10551055
if ($line =~ /^y/i) {

0 commit comments

Comments
 (0)