Re: [PATCH 07/13] prune_remote(): use delete_refs()
- From
Jeff King <peff@peff.net>
- Date
- Jun 8, 2015, 17:12 UTC
- Message-ID
- <20150608171202.GB6863@peff.net>
- In-Reply-To
- <CAGZ79kYcO95M6DsPa71uckOcOKs-mkz2P+NtEKx5qYfOcDw99g@mail.gmail.com>
On Mon, Jun 08, 2015 at 09:57:04AM -0700, Stefan Beller wrote:
Show 5 quoted lines
> On Mon, Jun 8, 2015 at 4:45 AM, Michael Haggerty <mhagger@alum.mit.edu> wrote: > > This will result in errors being emitted for references that can't be > > deleted, but that is a good thing. > > This sounds a bit like hand-waving to me. "Trust me, I'm an engineer!".
I think the argument is "we failed to do that the user asked for, but never reported the reason why".
But I don't see how that is the case. We already complain if repack_without_refs fail, and AFAICT the original call to delete_ref() would emit an error, as well.
-Peff