Skip to content

Commit

Permalink
git-svn: change ; to && in addremove()
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Feb 20, 2006
1 parent ce6f351 commit 472ee9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/git-svn/git-svn
Original file line number Diff line number Diff line change
Expand Up @@ -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 $?
}

Expand Down

0 comments on commit 472ee9e

Please sign in to comment.