Skip to content

Commit

Permalink
add -p: change prompt separator for 'g'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Feb 4, 2009
1 parent ace30ba commit 4404b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down

0 comments on commit 4404b2e

Please sign in to comment.