projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add "./sync-all fetch" and "./sync-all new"
[ghc-hetmet.git]
/
sync-all
diff --git
a/sync-all
b/sync-all
index
6f786cd
..
d89e439
100755
(executable)
--- a/
sync-all
+++ b/
sync-all
@@
-238,6
+238,15
@@
sub scmall {
or ($scm eq "git" and "send-email"));
$want_remote_repo = 1;
}
or ($scm eq "git" and "send-email"));
$want_remote_repo = 1;
}
+ elsif ($command =~ /^set-origin$/) {
+ @scm_args = ("remote", "set-url", "origin", $path);
+ }
+ elsif ($command =~ /^fetch$/) {
+ @scm_args = ("fetch", "origin");
+ }
+ elsif ($command =~ /^new$/) {
+ @scm_args = ("log", "origin..");
+ }
else {
die "Unknown command: $command";
}
else {
die "Unknown command: $command";
}
@@
-330,7
+339,10
@@
Supported commands:
* --<package-tag>
* --complete
* --partial
* --<package-tag>
* --complete
* --partial
+ * fetch
* send
* send
+ * set-origin
+ * new
Available package-tags are:
END
Available package-tags are:
END