diff options
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-x | git-add--interactive.perl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl index 0057f86588..dc3038091d 100755 --- a/git-add--interactive.perl +++ b/git-add--interactive.perl @@ -1,6 +1,5 @@ #!/usr/bin/perl -w - use strict; sub run_cmd_pipe { @@ -282,7 +281,7 @@ sub update_cmd { HEADER => $status_head, }, @mods); if (@update) { - system(qw(git update-index --add --), + system(qw(git update-index --add --remove --), map { $_->{VALUE} } @update); say_n_paths('updated', @update); } |