From: Junio C Hamano Date: Tue, 7 Mar 2023 21:44:24 +0000 (-0800) Subject: Meta/dodoc: fetch tags with --force X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c1fc158a7bea84c71df8973d39f752c79f93ef;p=thirdparty%2Fgit.git Meta/dodoc: fetch tags with --force --- diff --git a/dodoc.sh b/dodoc.sh 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" &&