Meta/dodoc: fetch tags with --force
Junio C Hamano committed
Mar 7, 2023 at 13:44 UTC
47c1fc158a7bea84c71df8973d39f752c79f93ef
1 file changed
+1
-1
dodoc.sh
+1
-1
index 2937c91923..719203f482 100755
--- a/dodoc.sh
+++ b/dodoc.sh
@@ -30,7 +30,7 @@ trap 'rm -f "$tmp".*' 0
(
git pull --ff-only "$MASTERREPO" master &&
- git fetch --tags "$MASTERREPO"
+ git fetch --tags --force "$MASTERREPO"
) || exit $?
test $(git rev-parse --verify refs/heads/master) = "$ID" &&