summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2011-11-25 16:38:21 -0500
committerEdward Z. Yang <ezyang@mit.edu>2011-11-25 16:38:38 -0500
commit7ec83bc3c725622c8724aa0cce8844ce38528e5f (patch)
tree0183191ffeecafac842f9dd9f03757268b31ba54 /sync-all
parent381becf01a71654464a8c73ba8f4671337ebae9a (diff)
downloadhaskell-7ec83bc3c725622c8724aa0cce8844ce38528e5f.tar.gz
Add GC command to sync-all.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
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 c7fcfde68f..1043b15fe0 100755
--- a/sync-all
+++ b/sync-all
@@ -413,6 +413,10 @@ sub scmall {
scm ($localpath, $scm, "format-patch", @args)
if $scm eq "git"
}
+ elsif ($command =~ /^gc$/) {
+ scm ($localpath, $scm, "gc", @args)
+ unless $scm eq "darcs";
+ }
else {
die "Unknown command: $command";
}