]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

don't push unless the commit succeeded!
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 05:12:00 +0000 (01:12 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 05:12:00 +0000 (01:12 -0400)
mr

diff --git a/mr b/mr
index e1c8a063e3f626185e529a2c31b3ae1d488e77d9..ee5e5e2befda8f44168bfd0b6b8ea75198e97662 100755 (executable)
--- a/mr
+++ b/mr
@@ -350,8 +350,7 @@ commit = \
        if [ -d .svn ]; then \
                svn commit "$@"; \
        elif [ -d .git ]; then \
-               git commit -a "$@"; \
-               git push --all; \
+               git commit -a "$@" && git push --all; \
        else \
                echo "mr commit: unknown repo type"; \
                exit 1; \