Code

contrib/git-svn.txt: add a note about renamed/copied directory support
[git.git] / contrib / git-svn / git-svn
index 4391bc328d4aa21592fe17b43465df015d1926ed..25c248dee3795fcbd7f6c48dacc54c25a7fcf0cf 100755 (executable)
@@ -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 $?
 }