summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-02-02 22:46:28 +0100
committerJunio C Hamano <gitster@pobox.com>2009-02-04 00:52:27 -0800
commit4404b2e39236e6f9c5bff121fc920d7ec17f7b6d (patch)
treeb2fec81578accd56581e05a476e46eb5fb57a3dd /git-add--interactive.perl
parentace30ba813ed723534c3b4d223db6eddea417de7 (diff)
downloadgit-4404b2e39236e6f9c5bff121fc920d7ec17f7b6d.tar.gz
add -p: change prompt separator for 'g'
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>
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-xgit-add--interactive.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index 30ddab293b..551b4475b5 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -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}) {