projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync-all: Don't give remote repo paths and branches to git pull
[ghc-hetmet.git]
/
sync-all
diff --git
a/sync-all
b/sync-all
index
bd32e46
..
728c725
100755
(executable)
--- a/
sync-all
+++ b/
sync-all
@@
-262,7
+262,6
@@
sub scmall {
}
push(@args, @_);
}
push(@args, @_);
- print "args: @args\n";
for $line (@packages) {
for $line (@packages) {
@@
-297,13
+296,17
@@
sub scmall {
# Hack around 'darcs whatsnew' failing if there are no changes
$ignore_failure = 1;
}
# Hack around 'darcs whatsnew' failing if there are no changes
$ignore_failure = 1;
}
+ elsif ($command =~ /^commit$/) {
+ @scm_args = ("commit");
+ # git fails if there is nothing to commit, so ignore failures
+ $ignore_failure = 1;
+ }
elsif ($command =~ /^(?:pus|push)$/) {
@scm_args = "push";
$want_remote_repo = 1;
}
elsif ($command =~ /^(?:pul|pull)$/) {
@scm_args = "pull";
elsif ($command =~ /^(?:pus|push)$/) {
@scm_args = "push";
$want_remote_repo = 1;
}
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)$/) {
# Q: should we append the -a argument for darcs repos?
}
elsif ($command =~ /^(?:g|ge|get)$/) {
@@
-400,6
+403,7
@@
What do you want to do?
Supported commands:
* whatsnew
Supported commands:
* whatsnew
+ * commit
* push
* pull
* get, with options:
* push
* pull
* get, with options: