X-Git-Url: https://git.madduck.net/etc/myrepos.git/blobdiff_plain/3a5dc1b6f340cd059655e6ed2392038f506464a5..40cf0f2845298966ae9e407a0c143340e3906cd4:/.mr/LIB diff --git a/.mr/LIB b/.mr/LIB index 2168aef..3eed548 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