git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Ping Yin <pkufranky@gmail.com>
Cc: David Aguilar <davvid@gmail.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: [RFC] Interactive difftool
Date: Sat, 28 Mar 2009 03:32:53 -0400	[thread overview]
Message-ID: <20090328073253.GA9013@coredump.intra.peff.net> (raw)
In-Reply-To: <46dff0320903270823v5e8e9c80w506d8a85440588f5@mail.gmail.com>

On Fri, Mar 27, 2009 at 11:23:15PM +0800, Ping Yin wrote:

> We can just change git-difftool.perl
> 
> The easiest way is first parsing the output of git diff --stat,
> adding the number at the beginning, for example
> [1] diff.c                   |   10 +++++++++-
> [2] t/t4020-diff-external.sh |    8 ++++++++

I am not paying enough attention to this thread to comment on your
overall goal, but instead of parsing "--stat", try "--numstat".

-Peff

  reply	other threads:[~2009-03-28  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 15:29 [RFC] Interactive difftool Ping Yin
2009-03-27 14:51 ` David Aguilar
2009-03-27 15:23   ` Ping Yin
2009-03-28  7:32     ` Jeff King [this message]
2009-03-28  9:14       ` Ping Yin

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=20090328073253.GA9013@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pkufranky@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).