X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fgit-svn%2Fgit-svn;h=25c248dee3795fcbd7f6c48dacc54c25a7fcf0cf;hb=472ee9e3d6820db00ae76c2d3f9775aa44932e2b;hp=4391bc328d4aa21592fe17b43465df015d1926ed;hpb=ce6f35190360ef8b8c3611eea61a82fb18b50c6c;p=git.git diff --git a/contrib/git-svn/git-svn b/contrib/git-svn/git-svn index 4391bc32..25c248de 100755 --- a/contrib/git-svn/git-svn +++ b/contrib/git-svn/git-svn @@ -580,10 +580,10 @@ sub sys { system(@_) == 0 or croak $? } sub git_addremove { system( "git-diff-files --name-only -z ". - " | git-update-index --remove -z --stdin; ". + " | git-update-index --remove -z --stdin && ". "git-ls-files -z --others ". "'--exclude-from=$GIT_DIR/$GIT_SVN/info/exclude'". - " | git-update-index --add -z --stdin; " + " | git-update-index --add -z --stdin" ) == 0 or croak $? }