From dad2c9c15afc336a84fc9d4f4d2705cc8e3aba09 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 21 Nov 2010 16:16:19 +0100 Subject: [PATCH] fix last fix --- all | 1 + 1 file changed, 1 insertion(+) diff --git a/all b/all index 23acd27e..556a0e87 100755 --- 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 -- 2.39.2