[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Busybox less sometimes ignores newlines in input?
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2014-09-22 19:25:24
Message-ID: 201409222125.25010.vda.linux () googlemail ! com
[Download RAW message or body]

On Sunday 21 September 2014 22:50, Aaro Koskinen wrote:
> Hi,
> 
> On Sun, Sep 21, 2014 at 10:10:37PM +0200, Denys Vlasenko wrote:
> > On Saturday 20 September 2014 13:30, Aaro Koskinen wrote:
> > > Hi,
> > > 
> > > Sometimes when running "git log", busybox less won't display a newline
> > > between commits. This happens when git is slow and less needs to wait
> > > for new input to appear.
> > > 
> > > A simple reproducer:
> > > 
> > > (perl -e 'print "\nfoo\n";'; sleep 1; perl -e 'print "\nbar\n";') | less
> > 
> > This patch seems to help.
> 
> Thanks... I think also found another issue with less...
> 
> Try "git log | less" on some large git tree (e.g. linux) and press 'G'.
> What should happen?

Tried to fix this with another change. Please try current git.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic