[commit: ghc] master: Don't push to submodules on "./sync-all push" (192789a)
Ian Lynagh
igloo at earth.li
Fri Feb 15 15:16:25 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/192789a4c4a4388e39d1652a62c09a3715637ead
>---------------------------------------------------------------
commit 192789a4c4a4388e39d1652a62c09a3715637ead
Author: Ian Lynagh <ian at well-typed.com>
Date: Fri Feb 15 14:12:46 2013 +0000
Don't push to submodules on "./sync-all push"
A standard git push doesn't make sense for them
>---------------------------------------------------------------
sync-all | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/sync-all b/sync-all
index b24a832..898ce66 100755
--- a/sync-all
+++ b/sync-all
@@ -372,7 +372,13 @@ sub scmall {
scm ($localpath, $scm, "commit", @args);
}
elsif ($command eq "push") {
- scm ($localpath, $scm, "push", @args);
+ # We don't automatically push to the submodules. If you want
+ # to push to them then you need to use a special command, as
+ # described on
+ # http://hackage.haskell.org/trac/ghc/wiki/Repositories/Upstream
+ if ($remotepath ne "-") {
+ scm ($localpath, $scm, "push", @args);
+ }
}
elsif ($command eq "pull") {
my $realcmd;
More information about the ghc-commits
mailing list