Add "./sync-all reset" command
authorIan Lynagh <igloo@earth.li>
Sat, 9 Apr 2011 14:16:01 +0000 (15:16 +0100)
committerIan Lynagh <igloo@earth.li>
Sat, 9 Apr 2011 14:16:01 +0000 (15:16 +0100)
sync-all

index 09130c0..02ac521 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -361,6 +361,9 @@ sub scmall {
               # Hack around 'git grep' failing if there are no matches
               $ignore_failure = 1;
             }
               # Hack around 'git grep' failing if there are no matches
               $ignore_failure = 1;
             }
+            elsif ($command =~ /^reset$/) {
+                @scm_args = "reset";
+            }
             elsif ($command =~ /^config$/) {
                 @scm_args = "config";
             }
             elsif ($command =~ /^config$/) {
                 @scm_args = "config";
             }
@@ -419,6 +422,7 @@ Supported commands:
  * remote rm <branch-name>
  * remote set-url [--push] <branch-name>
  * grep
  * remote rm <branch-name>
  * remote set-url [--push] <branch-name>
  * grep
+ * reset
  * config
 
 Available package-tags are:
  * config
 
 Available package-tags are: