diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-15 14:12:46 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-15 14:13:39 +0000 |
commit | 192789a4c4a4388e39d1652a62c09a3715637ead (patch) | |
tree | e6c4ddb6192ac2b58eb6a88b308119964d7e10d8 | |
parent | 536ee09fc4bcf2c8084bbbcb5c7a62025e31a7a6 (diff) | |
download | haskell-192789a4c4a4388e39d1652a62c09a3715637ead.tar.gz |
Don't push to submodules on "./sync-all push"
A standard git push doesn't make sense for them
-rwxr-xr-x | sync-all | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |