Git development
 help / color / mirror / Atom feed
From: Andreas Ericsson <ae@op5.se>
To: "J.R. Mauro" <jrm8005@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git pager woes
Date: Tue, 07 Oct 2008 16:23:00 +0200	[thread overview]
Message-ID: <48EB70C4.1070001@op5.se> (raw)
In-Reply-To: <3aaafc130810070643m352ea2ufa1069dc149f0d9e@mail.gmail.com>

J.R. Mauro wrote:
> Git doesn't set special options to it's pager command if the LESS
> environment variable is set. I noticed when I started using Gentoo
> that git was putting all output into a pager even if it were less than
> one page, which it didn't do under Ubuntu. A fellow Gentoo user
> confirms this; apparently Gentoo's defaults set LESS, but without a
> -F.
> 
> Should git always tack on a -F when it invokes less, or should this be
> put on the user to look up what to do? Or should I go complain to the
> Gentoo folks?

Go complain to Gentoo. If the user has set it explicitly (even if that
happens behind the user's back), we absolutely mustn't fiddle with it.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

  reply	other threads:[~2008-10-07 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07 13:43 Git pager woes J.R. Mauro
2008-10-07 14:23 ` Andreas Ericsson [this message]
2008-10-07 14:24   ` J.R. Mauro
2008-10-07 14:30 ` Matthieu Moy

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=48EB70C4.1070001@op5.se \
    --to=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=jrm8005@gmail.com \
    /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