projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn: change ; to && in addremove()
[git.git]
/
contrib
/
git-svn
/
git-svn
diff --git
a/contrib/git-svn/git-svn
b/contrib/git-svn/git-svn
index
4391bc3
..
25c248d
100755
(executable)
--- 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 ".
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-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 $?
}
) == 0 or croak $?
}