]> git.madduck.net Git - etc/myrepos.git/blobdiff - .mr/base

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:

automatically add joeyh remote to mr
[etc/myrepos.git] / .mr / base
index b640106e1d291b82432d4f37b4bc1d8d2cd7871e..3fd88429f14ce270df6f3a6623672df821ecdcaf 100644 (file)
--- a/.mr/base
+++ b/.mr/base
@@ -23,6 +23,12 @@ checkout = checkout_hack_branch mr \
        ssh://git.madduck.net/~/git/pub/code/mr.git
        ln -fs ../code/mr/mr ~/.bin/mr
        git branch vcsh origin/vcsh
        ssh://git.madduck.net/~/git/pub/code/mr.git
        ln -fs ../code/mr/mr ~/.bin/mr
        git branch vcsh origin/vcsh
+update = case "$(git config --get remote.origin.url)" in \
+            *git.madduck.net*) git pull "$@";; \
+            *) git remote add joeyh git://git.kitenet.net/mr; \
+               git remote update; \
+               git checkout -b joeyh joeyh/master;; \
+         esac
 
 [code/mrsetup]
 checkout = git clone ssh://git.madduck.net/~/git/pub/etc/mrsetup.git mrsetup
 
 [code/mrsetup]
 checkout = git clone ssh://git.madduck.net/~/git/pub/etc/mrsetup.git mrsetup