hgext/patchbomb.py
changeset 14397 0368ad7963be
parent 14319 b33f3e35efb0
child 14556 517e1d88bf7e
--- a/hgext/patchbomb.py	Fri May 20 21:20:24 2011 +0300
+++ b/hgext/patchbomb.py	Fri May 20 21:04:45 2011 +0300
@@ -106,7 +106,7 @@
         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'