diff options
author | Johan Tibell <johan.tibell@gmail.com> | 2011-04-06 11:39:29 +0200 |
---|---|---|
committer | Johan Tibell <johan.tibell@gmail.com> | 2011-04-06 11:39:29 +0200 |
commit | 78946b2d0699f9b4a2b729a4a4bdd1e1c0ab778a (patch) | |
tree | d86403120693c862316d68beb42bfb46e5c5a09a /sync-all | |
parent | 72a2b6d88d34caf92eeefd86cc69cad86b77a79c (diff) | |
download | haskell-78946b2d0699f9b4a2b729a4a4bdd1e1c0ab778a.tar.gz |
Add 'sync-all grep'
Diffstat (limited to 'sync-all')
-rwxr-xr-x | sync-all | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -354,6 +354,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"; } @@ -407,6 +412,7 @@ Supported commands: * remote add <branch-name> * remote rm <branch-name> * remote set-url [--push] <branch-name> + * grep Available package-tags are: END |