On Tue, Feb 13, 2024 at 1:11 AM Junio C Hamano <gitster@xxxxxxxxx> wrote: > > And by the way, only accepting GIT_FLUSH=true is quite breaking, it > > drops the compatibility of GIT_FLUSH=1 > > I do not think so. If the polarity is corrected, git_env_bool() > would say "that's affirmative" when any one of the "1", "true", > "yes", "on", etc. is given. If you have been passing "1", you > should get the "always flush" behaviour. Oh yes, you are right. There is a git_parse_int call in git_parse_maybe_bool, so if the "flipping" could be fixed, then everything should be fine.