Skip to content

Commit 4404b2e

Browse files
trastgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ace30ba commit 4404b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-add--interactive.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ sub patch_update_file {
948948
$other .= ',J';
949949
}
950950
if ($num > 1) {
951-
$other .= '/g';
951+
$other .= ',g';
952952
}
953953
for ($i = 0; $i < $num; $i++) {
954954
if (!defined $hunk[$i]{USE}) {

0 commit comments

Comments
 (0)