madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<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 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://"]
  insteadOf = madduck:

fix migration to hack branch setup
[etc/myrepos.git] / .mr / base
index 8c45a41513a5c82a43deef5b5580f1a0da59ce62..13f48c28138ca2e9b3d26ed941c2f2222c690f9c 100644 (file)
--- a/.mr/base
+++ b/.mr/base
@@ -19,15 +19,22 @@ checkout = git_fake_bare_checkout 'ssh://
 checkout = checkout_hack_branch mr \
-       joeyh git:// \
-       ssh://
-       ln -fs ../code/mr/mr ~/.bin/mr
-       git branch vcsh origin/vcsh
-update = case "$(git config --get remote.origin.url)" in \
-            **) git pull "$@";; \
-            *) git remote add joeyh git://; \
-               git remote update; \
-               git branch joeyh joeyh/master;; \
+        joeyh git:// \
+        ssh://
+        ln -fs ../code/mr/mr ~/.bin/mr
+        git branch vcsh origin/vcsh
+update = case "$(git config --get remote.origin.url)" in
+           **) git pull "$@";;
+           *) git remote add joeyh git://
+              git fetch joeyh
+              git checkout -b joeyh joeyh/master
+              git branch -d master
+              git remote rm origin
+              git remote add origin ssh://
+              git fetch origin
+              git branch master origin/master
+              git checkout -b vcsh origin/vcsh
+              ;;