Merge branch 'mm/maint-add-p-quit'
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 10:39:38 +0000 (03:39 -0700)
committerJunio 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
index 60dd1b5be2b4f243c455d00385b99aa5f353bc49..f6e536ece314316ebb281721ed27d7519577202f 100755 (executable)
@@ -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) {