--- a/hgext/mq.py Fri Jul 27 14:30:20 2007 -0700
+++ b/hgext/mq.py Sat Jul 28 20:15:54 2007 +0200
@@ -635,7 +635,7 @@
r = self.qrepo()
if r: r.add([patch])
if commitfiles:
- self.refresh(repo, short=True)
+ self.refresh(repo, short=True, git=opts.get('git'))
self.removeundo(repo)
finally:
del wlock
@@ -2183,6 +2183,7 @@
(new,
[('e', 'edit', None, _('edit commit message')),
('f', 'force', None, _('import uncommitted changes into patch')),
+ ('g', 'git', None, _('use git extended diff format')),
('I', 'include', [], _('include names matching the given patterns')),
('X', 'exclude', [], _('exclude names matching the given patterns')),
] + commands.commitopts,