On Wed, Jul 29, 2020 at 1:40 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > > The original did two things wrong, i.e. treated one thing specially, > and designated 'master' which has been declared a dirty word as that > special thing. Killing these two wrongs with one stone does not > feel so stupid. So here's basically the totality of the patch I just sent out, if you ignore the reverts for all the side effects of the bad fix: - if (!strcmp("master", current_branch)) + if (!strcmp(git_default_branch_name(), current_branch)) See? It fixes both issues, _and_ it doesn't break any test-suite or any existing actual users. So compare that one-liner fix with the commit I'm complaining about: git show 489947cee5 which broke actual existing users. And then tell me which one is the proper fix. Breaking existing users? Or just fixing the issue with a clean and obvious one-liner? Linus