summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-04-06 11:27:03 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-04-06 11:27:03 +0100
commit91bb651a14f8fe4163394f26af50fb8f76fa0607 (patch)
treeb0c78a36b29777da230a51f9c7c148f2348d9c0f /sync-all
parentef344a11a5d48f2eccf07fa4dce8e62879e6ff1e (diff)
parent78946b2d0699f9b4a2b729a4a4bdd1e1c0ab778a (diff)
downloadhaskell-91bb651a14f8fe4163394f26af50fb8f76fa0607.tar.gz
Merge branch 'master' of /home/simonmar/ghc-git/.
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all6
1 files changed, 6 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index c4ecfa3d4e..d20f4e7ff6 100755
--- a/sync-all
+++ b/sync-all
@@ -353,6 +353,11 @@ sub scmall {
@scm_args = ("remote", "set-url", $branch_name, $path);
}
}
+ elsif ($command =~ /^grep$/) {
+ @scm_args = ("grep");
+ # Hack around 'git grep' failing if there are no matches
+ $ignore_failure = 1;
+ }
else {
die "Unknown command: $command";
}
@@ -406,6 +411,7 @@ Supported commands:
* remote add <branch-name>
* remote rm <branch-name>
* remote set-url [--push] <branch-name>
+ * grep
Available package-tags are:
END