> With so many (read: more than 3) callsites, I am not sure if this is > an improvement. pager_in_use() cannot be misspelt without getting > noticed by compilers, but git_env_bool("GIT_PAGOR_IN_USE", 0) will > go silently unnoticed. Is there no other way to lose the dependency > you do not like? I thought about only changing this call site, but that creates an inconsistency that shouldn't exist. The other way is to move this function into a different file, but it is also unclear to me which file that would be. It would be awkward in parse.c and if it was in environment.c then we would have many more inherited dependencies from that. I agree that the value of this patch is dubious in and of itself, which is why it's coupled together with this series rather than in a separate standalone cleanup series.