Re: [PATCH v5 3/3] t5510: cover upstream info update on fetch failure
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Oct 28, 2026, 20:19 UTC
- Message-ID
- <CAOLa=ZRksy4QCRDGsx7L6m-zxcj73TrQHaHAJ6rKhHXkrksWXg@mail.gmail.com>
- In-Reply-To
- <auHfoVfHQJ-dRwkM@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 14 quoted lines
> On Wed, Oct 28, 2026 at 10:48:01AM +0100, Karthik Nayak wrote: >> git-fetch(1) performs reference updates in a single batched transaction, >> so individual updates can be rejected while the rest succeed. Even in >> that partial-failure case the command still performs the remainder of >> its work, such as writing the upstream tracking configuration and >> backfilling tags. >> >> We have no test asserting that the upstream tracking information is >> written when one of the reference updates is rejected. Add one. > > Very pedantic nit: I would have ordered this commit before the preceding > one to demonstrate that this already worked beforehand. > > Patrick
Fair. Seeing that both comments are nits and minor, I'll make the changes locally and not re-roll unless there are other comments.