projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0dd5815
)
Add "commit" to the list of commands sync-all supports
author
Ian Lynagh
<igloo@earth.li>
Tue, 5 Apr 2011 16:26:20 +0000
(17:26 +0100)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 6 Apr 2011 16:39:04 +0000
(17:39 +0100)
sync-all
patch
|
blob
|
history
diff --git
a/sync-all
b/sync-all
index
d20f4e7
..
f7caca5
100755
(executable)
--- a/
sync-all
+++ b/
sync-all
@@
-296,6
+296,11
@@
sub scmall {
# Hack around 'darcs whatsnew' failing if there are no changes
$ignore_failure = 1;
}
# 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;
elsif ($command =~ /^(?:pus|push)$/) {
@scm_args = "push";
$want_remote_repo = 1;
@@
-399,6
+404,7
@@
What do you want to do?
Supported commands:
* whatsnew
Supported commands:
* whatsnew
+ * commit
* push
* pull
* get, with options:
* push
* pull
* get, with options: