aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-08-29 15:05:23 +0200
committerTaras Madan <tarasmadan@google.com>2024-08-29 13:17:42 +0000
commitaf983df1f68f6c49fc740287927618a30ce3e8a8 (patch)
tree8df9c733985e7108edb5581c10e3b382e691b510
parentb08c1142409c5a3d41ade6616a0af7277352ead5 (diff)
tools/syz-bq: make sure branch information is available locally
tools/syz-covermerger uses CheckoutCommit() now. CheckoutCommit calls "git fetch --tags origin commit". The tags are not available in this case.
-rwxr-xr-xtools/syz-bq.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-bq.sh b/tools/syz-bq.sh
index 5fba54634..45b5608f7 100755
--- a/tools/syz-bq.sh
+++ b/tools/syz-bq.sh
@@ -52,6 +52,7 @@ if [ ! -d $base_dir ]; then
fi
cd $base_dir
remote=$(git remote -v | grep $repo | head -n1 | awk '{print $1;}')
+git fetch --tags $remote
git checkout $remote/$branch
cd -