Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mm/maint-add-p-quit'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Apr 2009 10:39:38 +0000
(
03:39
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Apr 2009 10:39:38 +0000
(
03:39
-0700)
* mm/maint-add-p-quit:
git add -p: add missing "q" to patch prompt
git-add--interactive.perl
patch
|
blob
|
history
raw
(from parent 1:
66996ec
)
diff --git
a/git-add--interactive.perl
b/git-add--interactive.perl
index 60dd1b5be2b4f243c455d00385b99aa5f353bc49..f6e536ece314316ebb281721ed27d7519577202f 100755
(executable)
--- 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) {