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

pass parameters through to all commands
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 16:23:20 +0000 (12:23 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 16:23:20 +0000 (12:23 -0400)
probably mostly useful in the case where mr is using all one revision
control system..

mr

diff --git a/mr b/mr
index f2e4af5142c3518635d1541c077cf5c498d55b34..6c59683cadfe79dd52f45f57163de2d301ee721c 100755 (executable)
--- a/mr
+++ b/mr
@@ -405,17 +405,17 @@ lib = \
        }
 update = \
        if [ -d .svn ]; then \
-               svn update; \
+               svn update "$@"; \
        elif [ -d .git ]; then \
-               git pull origin master; \
+               git pull origin master "$@"; \
        else \
                error "unknown repo type"; \
        fi
 status = \
        if [ -d .svn ]; then \
-               svn status; \
+               svn status "$@"; \
        elif [ -d .git ]; then \
-               git status || true; \
+               git status "$@" || true; \
        else \
                error "unknown repo type"; \
        fi