]> git.ipfire.org Git - thirdparty/git.git/commitdiff
add -p: change prompt separator for 'g'
authorThomas Rast <trast@student.ethz.ch>
Mon, 2 Feb 2009 21:46:28 +0000 (22:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Feb 2009 08:52:27 +0000 (00:52 -0800)
57886bc (git-add -i/-p: Change prompt separater from slash to comma,
2008-11-27) changed the prompt separator to ',', but forgot to adapt
the 'g' (goto) command.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl

index 30ddab293b4b4eb2862d068b352e8ccedc31ea5e..551b4475b5a384e12fe2b616dfdbc093ab382081 100755 (executable)
@@ -948,7 +948,7 @@ sub patch_update_file {
                        $other .= ',J';
                }
                if ($num > 1) {
-                       $other .= '/g';
+                       $other .= ',g';
                }
                for ($i = 0; $i < $num; $i++) {
                        if (!defined $hunk[$i]{USE}) {