Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: git-diff should not fire up $PAGER if there is no diff

From: Jeff King <hidden>
Date: 2016-06-15 22:45:47

On Tue, Dec 16, 2008 at 09:16:29AM +0800, jidanni@jidanni.org wrote:
JK> The usual workaround is to ask the pager to exit immediately if the
JK> output is small. I.e., putting "F" in your LESS variable (which git does
JK> automatically if you don't already have LESS set).

Ah, but who doesn't have LESS set these days? OK, the man page should
mention that so people will put the F on their LESS variable, like I
recall another man page already does.
Not unreasonable. Care to make a patch to the documentation?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help