From: <rsbecker@nexbridge.com>
To: "'David Bohman'" <debohman@gmail.com>,
"'Junio C Hamano'" <gitster@pobox.com>
Cc: <git@vger.kernel.org>
Subject: RE: git-2.51.0: Fetching tags does not work
Date: Sun, 2 Nov 2025 20:34:32 -0500 [thread overview]
Message-ID: <01b001dc4c62$04943500$0dbc9f00$@nexbridge.com> (raw)
In-Reply-To: <CAB9xhmPw6P1J2a3P+btUT1chhNQrhcx3pSkq+vqZbhFhCqcX9w@mail.gmail.com>
On November 2, 2025 7:47 PM, David Bohman wrote:
>I am sorry to have to bring this up again, but I am still occasionally seeing this
>problem with git 2.51.2.
>
>What is happening is that I am cloning a repository as bare, and then later I try to
>fetch the new content including the tags:
>
>% ( cd bind9.git; git fetch --tags )
>>From https://gitlab.isc.org/isc-projects/bind9
> * branch HEAD -> FETCH_HEAD
> ! [rejected] stable -> stable (would clobber existing tag)
> * [new tag] v9.18.41 -> v9.18.41
> * [new tag] v9.20.15 -> v9.20.15
> * [new tag] v9.21.14 -> v9.21.14
>% ( cd bind9.git; git fetch --tags )
>>From https://gitlab.isc.org/isc-projects/bind9
> * branch HEAD -> FETCH_HEAD
> ! [rejected] stable -> stable (would clobber existing tag)
> * [new tag] v9.18.41 -> v9.18.41
> * [new tag] v9.20.15 -> v9.20.15
> * [new tag] v9.21.14 -> v9.21.14
>% print $?
>1
>% ( cd bind9.git; git tag ) | grep v9.20.15 %
>
>As you can see, it is getting an error for one of the tags, but it is also failing to record
>the other new tags into the repository.
git fetch --tags --force
should clear your situation, where the tag is different on the upstream compare to
your local clone.
next prev parent reply other threads:[~2025-11-03 1:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-06 0:30 git-2.51.0: Fetching tags does not work David Bohman
2025-09-06 4:56 ` Junio C Hamano
2025-11-03 0:47 ` David Bohman
2025-11-03 1:34 ` rsbecker [this message]
2025-11-03 1:45 ` David Bohman
2025-11-03 1:52 ` Chris Torek
2025-11-03 2:38 ` David Bohman
2025-11-03 1:41 ` David Bohman
2025-11-03 8:50 ` Karthik Nayak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='01b001dc4c62$04943500$0dbc9f00$@nexbridge.com' \
--to=rsbecker@nexbridge.com \
--cc=debohman@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.