Re: [PATCH v2] load_ref_decorations(): fix decoration with tags
- From
- Martin Ågren <martin.agren@gmail.com>
- Date
- Jul 13, 2021, 08:47 UTC
- Message-ID
- <CAN0heSpFDC2c=S6RZo=mrM3n09WL1jFsv-Px=8DpYP=ZYKHjDA@mail.gmail.com>
- In-Reply-To
- <YO1GNWjMol8JV8MR@coredump.intra.peff.net>
On Tue, 13 Jul 2021 at 09:52, Jeff King <peff@peff.net> wrote:
> > [+cc Junio; this patch looks good to me, and should go on top of > jk/log-decorate-optim, which is in 'next' and has a pretty > ugly regression]
Thanks for calling out the branch name when I failed to. That's indeed where my copy of the patch sits and where I've tested this.
Show 10 quoted lines
> > Maybe you wrote this before circling back and actually writing that > > "even better" thing? Because it seems to me like that's what you did. > > Maybe I'm still missing something. > > Nope, I'm just dumb. I wrote what I sent in the other email (rather than > just adding the "if" as above) because it only involved having a single > parse_object() call in the function. To my credit, I did realize about > an hour after sending the other email that I had in fact done the > "better thing" quite accidentally. But I really like how you explained > it in the commit message here, which I had not quite thought through.
That's the best kind of hindsight: the sudden realization that you actually got it right.
> Patch looks good. Thanks for noticing the problem and cleaning up my > mess.
Thanks a lot for your comments and all the help. I'm glad you liked my explanation in the posted patch.
Martin