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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html