Re: [PATCH 0/10] color and pager improvements
- From
Jeff King <peff@peff.net>
- Date
- Aug 18, 2011, 21:58 UTC
- Message-ID
- <20110818215820.GA7767@sigill.intra.peff.net>
- In-Reply-To
- <20110818045821.GA17377@sigill.intra.peff.net>
On Wed, Aug 17, 2011 at 09:58:23PM -0700, Jeff King wrote:
> While looking at the pager and color code today, I decided to tackle two > long-standing bugs, which entailed a lot of refactoring of the color > code. The result fixes some minor bugs, and is a little nicer for > calling code to use.
And here are two patches on top of the previous 10 to help Ingo's problem a bit.
[11/10]: support pager.* for aliases [12/10]: support pager.* for external commands
With these, you can do "git config pager.stash false" to turn off paging on "stash list" and "stash show" (and turn it back on with "git -p stash list", of course).
I'm slightly tempted to allow things like "pager.stash.list" and "pager.branch.list". It wouldn't be too hard to implement. But I'm not sure anybody actually cares. I think Ingo's original complaint was simply that pager.stash didn't actually do anything, not that he wanted some separate config for the various subcommands.
-Peff