From: Jeff King <peff@peff.net>
To: jidanni@jidanni.org
Cc: git@vger.kernel.org
Subject: Re: git-diff should not fire up $PAGER if there is no diff
Date: Mon, 15 Dec 2008 23:07:22 -0500 [thread overview]
Message-ID: <20081216040722.GA4551@coredump.intra.peff.net> (raw)
In-Reply-To: <87oczcx6ky.fsf@jidanni.org>
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
next prev parent reply other threads:[~2008-12-16 4:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alpine.DEB.1.00.0812160153340.14632@racer>
2008-12-16 1:16 ` git-diff should not fire up $PAGER if there is no diff jidanni
2008-12-16 4:07 ` Jeff King [this message]
2008-12-16 17:38 ` jidanni
2008-12-16 0:21 jidanni
2008-12-16 0:56 ` Jeff King
2008-12-16 6:35 ` Stefan Karpinski
2008-12-16 7:44 ` Jeff King
2008-12-16 22:43 ` Stefan Karpinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081216040722.GA4551@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=jidanni@jidanni.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).