From: martin f. krafft Date: Sun, 18 May 2008 13:19:11 +0000 (+0100) Subject: beautify hack branch output X-Git-Url: https://git.madduck.net/etc/myrepos.git/commitdiff_plain/40cf0f2845298966ae9e407a0c143340e3906cd4 beautify hack branch output --- 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