From: Junio C Hamano Date: Mon, 31 Jul 2017 16:32:19 GMT Subject: Re: [PATCH v2 05/10] git.c: provide setup_auto_pager() Message-ID: In-Reply-To: <20170731033429.dgftfeum6n3ddxua@sigill.intra.peff.net> Jeff King writes: > But thinking on it, the most plausible case is something like: > > setup_auto_pager("foo", -1); > ... > /* fallback to some historical compatibility name */ > setup_auto_pager("bar", 0); > > And it's important for the "-1" there to be a true punt, and not do > anything in commit_pager_choice(). So it's probably worth documenting > the "-1" behavior as you did here as a possible value for "def". Thanks for reading it over. I agree that the "punt" behaviour is a sensible one in that use case, and I also agree that it would be good to explain it.