sync-all: Don't give remote repo paths and branches to git pull
authorIan Lynagh <igloo@earth.li>
Wed, 6 Apr 2011 10:31:06 +0000 (11:31 +0100)
committerIan Lynagh <igloo@earth.li>
Wed, 6 Apr 2011 16:39:04 +0000 (17:39 +0100)
You can set up remotes and give them as an argument
"./sync-all pull someremote" instead. The old way meant
that the patches would be pulled, but remotes/origin/master
wouldn't be updated.

sync-all

index f7caca5..728c725 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -307,7 +307,6 @@ sub scmall {
             }
             elsif ($command =~ /^(?:pul|pull)$/) {
                 @scm_args = "pull";
-                $want_remote_repo = 1;
                 # Q: should we append the -a argument for darcs repos?
             }
             elsif ($command =~ /^(?:g|ge|get)$/) {