Re: [PATCH 11/10] support pager.* for aliases
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2011, 04:18 UTC
- Message-ID
- <7vliuq5906.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110819033733.GB2993@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
>> > Until this patch, doing something like: >> > >> > git config alias.foo log >> > git config pager.foo /some/specific/pager >> > >> > would not respect pager.foo at all. >> >> Is it a good thing? Looks too confusing and I am having a hard time to >> decide if this is "just because we could" or "because we need to be able >> to do this for such and such reasons". > > I don't have a particular use for it myself. However, I don't see what's > confusing about it. Would would you expect the above commands to do with > respect to paging?
The reason I found it confusing was that I expected the "log" command that is run as the expansion of the alias to be oblivious to the fact that the end user called it "foo", and ignore anything specific to "foo", including "pager.foo".