Re: Cygwin + git log = no pager!

2014-02-26 Thread Chris Packham
On 27/02/14 04:54, Robert Dailey wrote: > On Wed, Feb 26, 2014 at 3:26 AM, Jeff King wrote: >> On Mon, Feb 24, 2014 at 01:34:34PM -0600, Robert Dailey wrote: >> >>> So I set GIT_PAGER to 'echo custom pager' as you instructed, and I >>> noticed that wasn't being printed when I ran my git log alias.

Re: Cygwin + git log = no pager!

2014-02-26 Thread Jeff King
On Wed, Feb 26, 2014 at 09:54:39AM -0600, Robert Dailey wrote: > > That _should_ turn on the pager, but I think it does not due to a bug > > with setup_pager and aliases. Something like the patch below would make > > it work (but if you are having to use "-p" manually, there is something > > to fi

Re: Cygwin + git log = no pager!

2014-02-26 Thread Robert Dailey
Copying the patch from the email text results in corrupted patch, something isn't quite right with it so it won't let me apply it. Can you attach it as an actual file so I can try again? Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...

Re: Cygwin + git log = no pager!

2014-02-26 Thread Robert Dailey
On Wed, Feb 26, 2014 at 3:26 AM, Jeff King wrote: > On Mon, Feb 24, 2014 at 01:34:34PM -0600, Robert Dailey wrote: > >> So I set GIT_PAGER to 'echo custom pager' as you instructed, and I >> noticed that wasn't being printed when I ran my git log alias. So what >> I did after that was set GIT_TRACE

Re: Cygwin + git log = no pager!

2014-02-26 Thread Jeff King
On Mon, Feb 24, 2014 at 01:34:34PM -0600, Robert Dailey wrote: > So I set GIT_PAGER to 'echo custom pager' as you instructed, and I > noticed that wasn't being printed when I ran my git log alias. So what > I did after that was set GIT_TRACE=1 and here is the output I see > before my logs start pr

Re: Cygwin + git log = no pager!

2014-02-24 Thread Robert Dailey
On Mon, Feb 24, 2014 at 3:06 AM, Jeff King wrote: > On Mon, Feb 24, 2014 at 08:55:41PM +1300, Chris Packham wrote: > >> > Thanks for the response. I did set this environment variable in my >> > .bashrc like so: >> > >> > export GIT_PAGER=less >> > >> > However after I do a 'git log' it is just spi

Re: Cygwin + git log = no pager!

2014-02-24 Thread Jeff King
On Mon, Feb 24, 2014 at 08:55:41PM +1300, Chris Packham wrote: > > Thanks for the response. I did set this environment variable in my > > .bashrc like so: > > > > export GIT_PAGER=less > > > > However after I do a 'git log' it is just spitting it out all at once > > and not entering the pager. >

Re: Cygwin + git log = no pager!

2014-02-23 Thread Chris Packham
On 24/02/14 09:33, Robert Dailey wrote: > On Sat, Feb 22, 2014 at 1:39 AM, Chris Packham > wrote: >> 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

Re: Cygwin + git log = no pager!

2014-02-23 Thread Robert Dailey
On Sat, Feb 22, 2014 at 1:39 AM, Chris Packham wrote: > 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

Re: Cygwin + git log = no pager!

2014-02-21 Thread Chris Packham
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 wo

Cygwin + git log = no pager!

2014-02-21 Thread Robert Dailey
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 comman