git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 5/9] git-svn: change ; to && in addremove()

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 20, 2006, 18:57 UTC
Message-ID
<11404618481876-git-send-email-normalperson@yhbt.net>
In-Reply-To
<11404618483821-git-send-email-normalperson@yhbt.net>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 contrib/git-svn/git-svn |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
ff01f98a865018be26baf1008c669009e95a93bf
diff --git a/contrib/git-svn/git-svn b/contrib/git-svn/git-svn
index 4391bc3..25c248d 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 $?
 }
 
-- 
1.2.0.gdee6
Previous: Eric WongNext: Eric Wong
Message 2 of 4 in “git-svn: remove any need for the XML::Simple dependency”
  1. 4/9 git-svn: remove any need for the XML::Simple dependencyEric Wong, Feb 20, 2006
  2. 5/9 git-svn: change ; to && in addremove()Eric Wong, Feb 20, 2006
  3. 6/9 contrib/git-svn.txt: add a note about renamed/copied directory supportEric Wong, Feb 20, 2006
  4. 7/9 git-svn: fix several corner-case and rare bugs with 'commit'Eric Wong, Feb 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.