diff options
author | Ian Lynagh <igloo@earth.li> | 2011-04-05 17:26:20 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-04-06 17:39:04 +0100 |
commit | 2d8b3172b1997bbd94130576134dac7b200cc963 (patch) | |
tree | e85e1153c3cbc683d78e833034c44354e6a6c55c /sync-all | |
parent | 0dd5815f6d0076e04866acbf120957aa0cd8dee2 (diff) | |
download | haskell-2d8b3172b1997bbd94130576134dac7b200cc963.tar.gz |
Add "commit" to the list of commands sync-all supports
Diffstat (limited to 'sync-all')
-rwxr-xr-x | sync-all | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -296,6 +296,11 @@ sub scmall { # Hack around 'darcs whatsnew' failing if there are no changes $ignore_failure = 1; } + elsif ($command =~ /^commit$/) { + @scm_args = ("commit"); + # git fails if there is nothing to commit, so ignore failures + $ignore_failure = 1; + } elsif ($command =~ /^(?:pus|push)$/) { @scm_args = "push"; $want_remote_repo = 1; @@ -399,6 +404,7 @@ What do you want to do? Supported commands: * whatsnew + * commit * push * pull * get, with options: |