On Tue, Jul 13, 2021 at 10:05:15AM +0200, Ævar Arnfjörð Bjarmason wrote: > Adds missing add missing __attribute__((format)) in various places, > which improves compile-time checking. > > v2: Let's drop the whole bending over backwards to do mostly/entirely > useless strftime() checking. That's gone, I added a patch at the end > with a comment for strbuf_addftime() to say why it's not there, and > also split up the advise_if_enabled() change into its own commit. > > I also removed the other cases of adding attribute checking to > compat/*. I can't easily test those, and I don't know if there's > potential bad interactions with git-compat-util.h. Thanks. Modulo a whitespace typo in the final patch, these all look good to me. I could take or leave the final patch, as I never wondered about strftime format-checking in the first place. :) But I don't mind it either way (the alternative is that the v1 discussion in the list could serve the purpose). -Peff