X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;ds=sidebyside;f=git-add--interactive.perl;h=dc3038091dd7db7dd4bb96cf8832df789b4d127f;hb=204d409247e7bbc7848569462aa11a87e373c8d6;hp=0057f865886753afb9493a2e82b11fe14aa91529;hpb=37818d7db070f67a20df58ac7d5e04cc63ef1867;p=thirdparty%2Fgit.git 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); }