From: Junio C Hamano Date: Thu, 2 Mar 2006 02:40:05 +0000 (+0000) Subject: Follow the master branch tag. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cd3b0b635a942a0ed8788bbc302132554cfc79d9;p=git.git Follow the master branch tag. Forgot that no tracking "git pull" does not fetch the tags anymore. --- diff --git a/dodoc.sh b/dodoc.sh index 8202a604..a2f87e8c 100755 --- a/dodoc.sh +++ b/dodoc.sh @@ -36,6 +36,7 @@ test "$DOCREPO" != "" && cd "$DOCREPO" || exit $? git pull "$MASTERREPO" master && +git fetch --tags "$MASTERREPO" || exit $? test $(git-rev-parse --verify refs/heads/master) == "$ID" && NID=$(git-describe --abbrev=4 "$ID") && test '' != "$NID" || exit $?