]> 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:

git push on commit, as per the documentation
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 05:04:31 +0000 (01:04 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 05:04:31 +0000 (01:04 -0400)
mr

diff --git a/mr b/mr
index 2a439069b0e914dd8d995ab6b05fc84750d9842c..2932ea3a819f944ce6848df48e86e292400525dc 100755 (executable)
--- a/mr
+++ b/mr
@@ -351,6 +351,7 @@ commit = \
                svn commit "$@"; \
        elif [ -d .git ]; then \
                git commit -a "$@"; \
                svn commit "$@"; \
        elif [ -d .git ]; then \
                git commit -a "$@"; \
+               git push --all; \
        else \
                echo "mr commit: unknown RCS"; \
                exit 1; \
        else \
                echo "mr commit: unknown RCS"; \
                exit 1; \