Add format-patch support to sync-all
authorIan Lynagh <igloo@earth.li>
Thu, 27 Oct 2011 11:50:55 +0000 (12:50 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 4 Nov 2011 01:23:34 +0000 (01:23 +0000)
sync-all

index 3724baa..11c2210 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -405,6 +405,10 @@ sub scmall {
             scm ($localpath, $scm, "repack", @args)
                 if $scm eq "git"
         }
+        elsif ($command =~ /^format-patch$/) {
+            scm ($localpath, $scm, "format-patch", @args)
+                if $scm eq "git"
+        }
         else {
             die "Unknown command: $command";
         }
@@ -484,6 +488,7 @@ any extra arguments to git:
   commit
   config
   fetch
+  format-patch
   grep
   log
   new