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 4391bc3..25c248d 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 $?
 }