All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: RFC: Adding an option to log-like commands to call an external command for each revision
Date: Sun, 29 Aug 2010 15:39:05 -0500	[thread overview]
Message-ID: <20100829203905.GA1890@burratino> (raw)
In-Reply-To: <AANLkTikh-KoWuPYE12pVszwduGTBOssKDxqk=4iF6QZT@mail.gmail.com>

Hi Ævar,

Ævar Arnfjörð Bjarmason wrote:

> I have this alias in my .gitconfig:
> 
>     review = "!f() { for rev in $(git rev-list --reverse \"$@\"); do
> git show $rev; done; }; f"
> 
> I use it after I "git pull" to see what changed, e.g.:
> 
>     git review 49ea7b8..e1ef3c1

Hmm,

 git show --reverse 49ea7b8..e1ef3c1

doesn't work because cmd_show() bypasses the get_revision() magic. :(

  reply	other threads:[~2010-08-29 20:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 20:30 RFC: Adding an option to log-like commands to call an external command for each revision Ævar Arnfjörð Bjarmason
2010-08-29 20:39 ` Jonathan Nieder [this message]
2010-08-30  3:08 ` Jeff King
2010-09-11 15:56   ` Ævar Arnfjörð Bjarmason
2010-09-11 17:09     ` Mark Lodato
2010-09-11 19:07     ` Ævar Arnfjörð Bjarmason
2010-09-11 22:17     ` Artur Skawina
2010-09-12 21:25     ` Junio C Hamano
2010-09-12 22:44       ` Ævar Arnfjörð Bjarmason

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=20100829203905.GA1890@burratino \
    --to=jrnieder@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.