From: Ping Yin Date: Sat, 28 Mar 2009 09:14:56 GMT Subject: Re: [RFC] Interactive difftool 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 wrote: > 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.