projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6f351
)
git-svn: change ; to && in addremove()
author
Eric Wong
<normalperson@yhbt.net>
Mon, 20 Feb 2006 18:57:28 +0000
(10:57 -0800)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/contrib/git-svn/git-svn
b/contrib/git-svn/git-svn
index 4391bc328d4aa21592fe17b43465df015d1926ed..25c248dee3795fcbd7f6c48dacc54c25a7fcf0cf 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 ".
- " | 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 $?
}