X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/99a9fd6c2b74cb771d07996f6f027d007d50239a..0c6bf1b6942db440d4296147175d481d60c27cd4:/mr diff --git a/mr b/mr index 6a525cd..6ace1d8 100755 --- a/mr +++ b/mr @@ -350,9 +350,9 @@ sub loadconfig { } } -__DATA__ -# Some useful actions that mr knows about by default. +# Finally, some useful actions that mr knows about by default. # These can be overridden in ~/.mrconfig. +__DATA__ [default] update = \ if [ -d .svn ]; then \ @@ -376,8 +376,7 @@ commit = \ if [ -d .svn ]; then \ svn commit "$@"; \ elif [ -d .git ]; then \ - echo git commit -a "$@" && echo git push --all \ - git commit -a "$@" && git push --all \ + git commit -a "$@" && git push --all; \ else \ echo "mr commit: unknown repo type"; \ exit 1; \