Add diff command to sync-all
authorIan Lynagh <igloo@earth.li>
Mon, 12 Dec 2011 21:03:26 +0000 (21:03 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 12 Dec 2011 23:45:28 +0000 (23:45 +0000)
sync-all

index e660bf4..064a272 100755 (executable)
--- 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