From: Jeff King Date: Sat, 28 Mar 2009 07:32:53 GMT Subject: Re: [RFC] Interactive difftool Message-ID: <20090328073253.GA9013@coredump.intra.peff.net> 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