From 97e6a460eae6b3f1f68f771587a26b17891f8ec3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 18 May 2008 14:28:14 +0100 Subject: [PATCH] automatically add joeyh remote to mr --- .mr/base | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.mr/base b/.mr/base index b640106..3fd8842 100644 --- 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 +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 -- 2.39.2