From 15805347ff509a3b83a87ffe736b5ac1b5eaf6ce Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 12 Aug 2008 18:19:20 +0200 Subject: [PATCH] tg-export: Ensure we don't overwrite a branch by git update-ref --- tg-export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg-export.sh b/tg-export.sh index 73ad2ef..62361dd 100644 --- a/tg-export.sh +++ b/tg-export.sh @@ -190,7 +190,7 @@ recurse_deps driver "$name" if [ "$driver" = "collapse" ]; then - git update-ref "refs/heads/$output" "$(cat "$playground/$name")" + git update-ref "refs/heads/$output" "$(cat "$playground/$name")" "" depcount="$(cat "$playground/^ticker" | wc -l)" echo "Exported topic branch $name (total $depcount topics) to branch $output" -- 2.30.2