diff -r cff0f5926797 -r e1677cc29da6 mercurial/patch.py --- a/mercurial/patch.py Thu Sep 29 10:16:34 2016 +0200 +++ b/mercurial/patch.py Sat Nov 12 13:36:17 2016 +0100 @@ -2550,7 +2550,7 @@ addresult() return results -def diffstat(lines, width=80, git=False): +def diffstat(lines, width=80): output = [] stats = diffstatdata(lines) maxname, maxtotal, totaladds, totalremoves, hasbinary = diffstatsum(stats)