changeset 14397:0368ad7963be

patchbomb: pass --git argument to diffstat
author Idan Kamara <idankk86@gmail.com>
date Fri, 20 May 2011 21:04:45 +0300
parents 170747a3e139
children ae1f7a5373e8
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'