summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-09 15:16:01 +0100
committerIan Lynagh <igloo@earth.li>2011-04-09 15:16:01 +0100
commit95ba531d864df3e5f7a795f6078fba63df8e6b21 (patch)
treecfa1869897f6f19612d378a7095cd30301b64edf /sync-all
parent67e48af966056fa8d1533f1cb8ea65fba9f2fcf5 (diff)
downloadhaskell-95ba531d864df3e5f7a795f6078fba63df8e6b21.tar.gz
Add "./sync-all reset" command
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all4
1 files changed, 4 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 09130c0e52..02ac5214b2 100755
--- a/sync-all
+++ b/sync-all
@@ -361,6 +361,9 @@ sub scmall {
# Hack around 'git grep' failing if there are no matches
$ignore_failure = 1;
}
+ elsif ($command =~ /^reset$/) {
+ @scm_args = "reset";
+ }
elsif ($command =~ /^config$/) {
@scm_args = "config";
}
@@ -419,6 +422,7 @@ Supported commands:
* remote rm <branch-name>
* remote set-url [--push] <branch-name>
* grep
+ * reset
* config
Available package-tags are: