From: Andreas Ericsson <ae@op5•se>
To: Junio C Hamano <gitster@pobox•com>
Cc: Hitoshi Mitake <h.mitake@gmail•com>, git@vger•kernel.org
Subject: Re: [PATCH v0 0/2] git-less: a specialized pager for git-log
Date: Fri, 23 Mar 2012 11:07:21 +0100 [thread overview]
Message-ID: <4F6C4B59.8060102@op5.se> (raw)
In-Reply-To: <7v1uokxxzh.fsf@alter.siamese.dyndns.org>
On 03/22/2012 08:00 PM, Junio C Hamano wrote:
> Hitoshi Mitake<h.mitake@gmail•com> 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 .*<RET>" once and then nagivate with "n"
> (and to change direction, "?<RET>") 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
should work well, and also make LISP nerds giggle.
--
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.
next prev parent reply other threads:[~2012-03-23 10:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 18:42 [PATCH v0 0/2] git-less: a specialized pager for git-log Hitoshi Mitake
2012-03-22 18:42 ` [PATCH v0 1/2] " Hitoshi Mitake
2012-03-22 18:42 ` [PATCH v0 2/2] git-less: git side support for git-less Hitoshi Mitake
2012-03-22 19:00 ` [PATCH v0 0/2] git-less: a specialized pager for git-log Junio C Hamano
2012-03-23 10:07 ` Andreas Ericsson [this message]
2012-03-23 17:18 ` Hitoshi Mitake
2012-03-23 20:44 ` Alex Plotnick
2012-03-30 14:23 ` Jeff Epler
2012-03-23 17:15 ` Hitoshi Mitake
2012-03-24 4:43 ` Nguyen Thai Ngoc Duy
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=4F6C4B59.8060102@op5.se \
--to=ae@op5$(echo .)se \
--cc=git@vger$(echo .)kernel.org \
--cc=gitster@pobox$(echo .)com \
--cc=h.mitake@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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