From: Eric Wong Date: Mon, 20 Feb 2006 18:57:28 +0000 (-0800) Subject: git-svn: change ; to && in addremove() X-Git-Tag: v1.3.0-rc1~184 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=472ee9e3d6820db00ae76c2d3f9775aa44932e2b;p=git.git git-svn: change ; to && in addremove() Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/contrib/git-svn/git-svn b/contrib/git-svn/git-svn index 4391bc328..25c248dee 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 $? }