From: Chris Packham <judge.packham@gmail.com>
To: Robert Dailey <rcdailey.lists@gmail.com>, Git <git@vger.kernel.org>
Subject: Re: Cygwin + git log = no pager!
Date: Sat, 22 Feb 2014 20:39:32 +1300 [thread overview]
Message-ID: <53085434.4060106@gmail.com> (raw)
In-Reply-To: <CAHd499BT1Q308+q0NB9Dpx=ncQZwRn0tg=q_PE8RutaVqH+xQQ@mail.gmail.com>
On 22/02/14 18:18, Robert Dailey wrote:
> So it seems that the pager doesn't work by default when running `git
> log` from Cygwin like it does in msysgit for Windows.
>
> I know I can pipe to `less` but that requires the additional typing
> obviously. Does anyone know how I can get the pager to work in Cygwin
> for git log, reflog, and other commands like it does in msysgit?
>
> Thanks in advance.
Add GIT_PAGER=less to your environment. I don't know if you were using
the cygwin packaged git or building from source but I'm surprised the
pager is not set by default as you actually have to define the use of
something other than less.
next prev parent reply other threads:[~2014-02-22 7:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 5:18 Cygwin + git log = no pager! Robert Dailey
2014-02-22 7:39 ` Chris Packham [this message]
2014-02-23 20:33 ` Robert Dailey
2014-02-24 7:55 ` Chris Packham
2014-02-24 9:06 ` Jeff King
2014-02-24 19:34 ` Robert Dailey
2014-02-26 9:26 ` Jeff King
2014-02-26 15:54 ` Robert Dailey
2014-02-26 16:41 ` Robert Dailey
2014-02-27 6:21 ` Jeff King
2014-02-27 7:36 ` Chris Packham
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=53085434.4060106@gmail.com \
--to=judge.packham@gmail.com \
--cc=git@vger.kernel.org \
--cc=rcdailey.lists@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;
as well as URLs for NNTP newsgroup(s).