git-svn: change ; to && in addremove()
authorEric Wong <normalperson@yhbt.net>
Mon, 20 Feb 2006 18:57:28 +0000 (10:57 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 20 Feb 2006 21:32:41 +0000 (13:32 -0800)
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 $?
 }