From: Hitoshi Mitake Date: Fri, 23 Mar 2012 17:18:36 GMT Subject: Re: [PATCH v0 0/2] git-less: a specialized pager for git-log Message-ID: In-Reply-To: <4F6C4B59.8060102@op5.se> On Fri, Mar 23, 2012 at 19:07, Andreas Ericsson wrote: > On 03/22/2012 08:00 PM, Junio C Hamano wrote: >> Hitoshi Mitake  writes: >> >>> If the pager can recognize the end of each commit, more confortable viewing of >>> git-log's output will be possible. >> >> I think people just use "/^commit .*" once and then nagivate with "n" >> (and to change direction, "?") for this. >> > > Or capital N. > > It's mostly useful when one wants to view the patch as well as the message, > so an alias like > >    logp = !PAGER='less -p ^commit' git log -p Yes, moving is not so large problem. But less cannot search regex with specified limit. Sometime I want to search string e.g. "something" only in the commit I'm focusing on. > > should work well, and also make LISP nerds giggle. > p? :) > -- > Andreas Ericsson                   andreas.ericsson@op5.se > OP5 AB                             www.op5.se > Tel: +46 8-230225                  Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. -- Hitoshi Mitake h.mitake@gmail.com