Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mm/maint-add-p-quit' into maint
author
Junio C Hamano
<gitster@pobox.com>
Sun, 3 May 2009 22:02:46 +0000
(15:02 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 3 May 2009 22:02:46 +0000
(15:02 -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:
7d71be2
)
diff --git
a/git-add--interactive.perl
b/git-add--interactive.perl
index 566e3710f5275bb751965744ff1d53ecaa809c97..5407b2e1b88cef5b9124ef9dca79cd1f95018bae 100755
(executable)
--- 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) {