git-svn: change ; to && in addremove()
Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
ce6f351903
commit
472ee9e3d6
@ -580,10 +580,10 @@ sub sys { system(@_) == 0 or croak $? }
|
|||||||
|
|
||||||
sub git_addremove {
|
sub git_addremove {
|
||||||
system( "git-diff-files --name-only -z ".
|
system( "git-diff-files --name-only -z ".
|
||||||
" | git-update-index --remove -z --stdin; ".
|
" | git-update-index --remove -z --stdin && ".
|
||||||
"git-ls-files -z --others ".
|
"git-ls-files -z --others ".
|
||||||
"'--exclude-from=$GIT_DIR/$GIT_SVN/info/exclude'".
|
"'--exclude-from=$GIT_DIR/$GIT_SVN/info/exclude'".
|
||||||
" | git-update-index --add -z --stdin; "
|
" | git-update-index --add -z --stdin"
|
||||||
) == 0 or croak $?
|
) == 0 or croak $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user