diff options
author | Edward Z. Yang <ezyang@mit.edu> | 2011-11-25 16:38:21 -0500 |
---|---|---|
committer | Edward Z. Yang <ezyang@mit.edu> | 2011-11-25 16:38:38 -0500 |
commit | 7ec83bc3c725622c8724aa0cce8844ce38528e5f (patch) | |
tree | 0183191ffeecafac842f9dd9f03757268b31ba54 /sync-all | |
parent | 381becf01a71654464a8c73ba8f4671337ebae9a (diff) | |
download | haskell-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-x | sync-all | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"; } |