X-Git-Url: https://git.madduck.net/etc/myrepos.git/blobdiff_plain/1798958073b6fc8e6aeabeb004b351336ba8d5e3..e2c23b1c72edb84f70491f4e345691fba9160c9c:/.mr/LIB diff --git a/.mr/LIB b/.mr/LIB index 2168aef..6c20d29 100644 --- a/.mr/LIB +++ b/.mr/LIB @@ -4,7 +4,7 @@ lib = checkout_hack_branch() { git clone --no-checkout --origin $2 $3 $1 cd $1 git checkout -b $2 $2/${5:-master} - git branch -D master + git branch -D master >/dev/null git remote add origin $4 if git fetch origin 2>/dev/null; then git checkout -b master origin/master @@ -21,9 +21,3 @@ lib = checkout_hack_branch() { git push origin --all fi } - -[code/mr] -checkout = checkout_hack_branch mr \ - joeyh git://git.kitenet.net/mr \ - ssh://git.madduck.net/~/git/pub/code/mr.git - ln -s ../code/mr/mr ~/.bin/mr