Re: [PATCH] stash: Utilize config variable pager.stash.list in stash list command
- From
Ingo Brückl <ib@wupperonline.de>
- Date
- Aug 18, 2011, 07:55 UTC
- Message-ID
- <4e4cc57e.51253792.bm000@wupperonline.de>
- In-Reply-To
- <20110818042620.GA19045@sigill.intra.peff.net>
Jeff King wrote on Wed, 17 Aug 2011 21:26:37 -0700:
> On Wed, Aug 17, 2011 at 11:44:32AM -0700, Junio C Hamano wrote:
>> What's so difficult to say "git stash list | less" or even "git -p >> stash list"?
> Anyway, I think his problem is not "I want a pager but I am too lazy to > type it", but rather that "git stash list" will auto-paginate by > default, because it is chaining to "log", which auto-paginates. You can > turn it off with "--no-pager", but pager.stash seems to have no effect.
I'd like to mention that in this particular case it is ok that stash auto-paginates, it only is annoying that "stash list" does. And, Junio, it is totally ok to say "git -p stash list" then, because this is exactely what I'd do.
Ingo