Re: git-2.51.0: Fetching tags does not work
- From
- David Bohman <debohman@gmail.com>
- Date
- Nov 3, 2025, 02:38 UTC
- Message-ID
- <CAB9xhmNiYv-9UezPguKzY3Q2Cq=ngeNaEi6Dr-B-Ds+s4BuEeA@mail.gmail.com>
- In-Reply-To
- <CAPx1GvfYyEKNepKWhjr66i0vPm4VVz=J0f=aym7P2uPKueSFhw@mail.gmail.com>
On Sun, Nov 2, 2025 at 5:53 PM Chris Torek <chris.torek@gmail.com> wrote:
Show 11 quoted lines
> > > Okay, but before 2.51, it would fail to move the existing tag but > > still insert the new tags. > > This is a change in behavior, and no doubt due to the new > reference transaction system: now either all tags get updated, > or none do. > > Which behavior is the buggy one is the real question. :-) > > Chris
I believe that this is a risky change for a mature tool like git. It has the potential to break all sorts of stuff once it starts to be adopted out into the wild. Also note that the diagnostic messages are misleading. It flags the moved tag as an error, but reports the new tags without error and then fails to insert them.
David