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}) {