# HG changeset patch # User Idan Kamara # Date 2011-05-20 18:04:45 # Node ID 0368ad7963bef9857d0c493d0531202da0fd5a1f # Parent 170747a3e13958da9ee63ec88354ae052c35672d patchbomb: pass --git argument to diffstat diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -106,7 +106,7 @@ def makepatch(ui, repo, patchlines, opts while patchlines and not patchlines[0].strip(): patchlines.pop(0) - ds = patch.diffstat(patchlines) + ds = patch.diffstat(patchlines, git=opts.get('git')) if opts.get('diffstat'): body += ds + '\n\n'