git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] Interactive difftool

From
Ping Yin <pkufranky@gmail.com>
Date
Mar 28, 2009, 09:14 UTC
Message-ID
<46dff0320903280214i5cddb261sb439f0330a8ec4e1@mail.gmail.com>
In-Reply-To
<20090328073253.GA9013@coredump.intra.peff.net>
On Sat, Mar 28, 2009 at 3:32 PM, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
> 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".
>
Thanks, that helps.
Previous: Jeff King
Message 5 of 5 in “[RFC] Interactive difftool”
  1. Ping YinMar 26, 2009
  2. David AguilarMar 27, 2009
  3. Ping YinMar 27, 2009
  4. Jeff KingMar 28, 2009
  5. Ping YinMar 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.