]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
fix last fix
authorRudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:16:19 +0000 (16:16 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:16:19 +0000 (16:16 +0100)
all

diff --git a/all b/all
index 23acd27e6276aea3569f3065994638f930bb2a38..556a0e878d9617eae206844bc50777f3eee1ce43 100755 (executable)
--- a/all
+++ b/all
@@ -272,6 +272,7 @@ fix_upstream_rebase()
 
        # one of the two sides of the merge should be remote upstream, or all is fine
        r_r=`git symbolic-ref HEAD`
+       r_r=${r_r#refs/heads/}
        r_rem=`git config "branch.$r_rem.remote" || $ECHO origin`
        r_bra=`git config "branch.$r_bra.merge" || $ECHO "$r_r"`
        if [ x"$r_me" != x"`git rev-parse "$r_rem/$r_bra"`" ]; then