]> git.madduck.net Git - etc/myrepos.git/commitdiff

madduck's git repository

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

beautify hack branch output
authormartin f. krafft <madduck@madduck.net>
Sun, 18 May 2008 13:19:11 +0000 (14:19 +0100)
committermartin f. krafft <madduck@madduck.net>
Sun, 18 May 2008 13:19:11 +0000 (14:19 +0100)
.mr/LIB

diff --git a/.mr/LIB b/.mr/LIB
index 2168aeff36cca2845bb2a4b550f9a3e8032c4ede..3eed5484801b07622d94e03290cb8a59f767e542 100644 (file)
--- 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 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
           git remote add origin $4
           if git fetch origin 2>/dev/null; then
             git checkout -b master origin/master