summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-12-12 21:03:26 +0000
committerIan Lynagh <igloo@earth.li>2011-12-12 23:45:28 +0000
commit77c9cf6bed68ab5d9e8c3f2b4271d203e43ee5c0 (patch)
tree851814698a737329ab80b8b24fd09b00f09cd172 /sync-all
parent8792391edd7e274670627aadd689dd23cf061f99 (diff)
downloadhaskell-77c9cf6bed68ab5d9e8c3f2b4271d203e43ee5c0.tar.gz
Add diff command to sync-all
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index e660bf42ae..064a2728a5 100755
--- a/sync-all
+++ b/sync-all
@@ -389,6 +389,10 @@ sub scmall {
scm ($localpath, $scm, "grep", @args)
unless $scm eq "darcs";
}
+ elsif ($command =~ /^diff$/) {
+ scm ($localpath, $scm, "diff", @args)
+ unless $scm eq "darcs";
+ }
elsif ($command =~ /^clean$/) {
scm ($localpath, $scm, "clean", @args)
unless $scm eq "darcs";
@@ -496,6 +500,7 @@ any extra arguments to git:
clean
commit
config
+ diff
fetch
format-patch
gc