From 39966260e458614b73d8ef7afcc616411bb8bc56 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 19 Mar 2011 00:27:51 +0300 Subject: [PATCH] tg-update: strip refs/top-bases/ from PATTERNs just in case --- tg-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg-update.sh b/tg-update.sh index 9d421ef..0a5193d 100644 --- a/tg-update.sh +++ b/tg-update.sh @@ -24,7 +24,7 @@ while [ -n "$1" ]; do [ -z "$name" ] || die "name already specified ($name)" name="$arg" else - pattern="$pattern refs/top-bases/$arg" + pattern="$pattern refs/top-bases/${arg#refs/top-bases/}" fi ;; esac -- 2.11.4.GIT