mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
Add --git support to hg email
This commit is contained in:
parent
4faa554229
commit
af80a5f6e8
@ -205,7 +205,8 @@ def patchbomb(ui, repo, *revs, **opts):
|
||||
|
||||
commands.export(ui, repo, *revs, **{'output': exportee(patches),
|
||||
'switch_parent': False,
|
||||
'text': None})
|
||||
'text': None,
|
||||
'git': opts.get('git')})
|
||||
|
||||
jumbo = []
|
||||
msgs = []
|
||||
@ -322,6 +323,7 @@ cmdtable = {
|
||||
('', 'bcc', [], 'email addresses of blind copy recipients'),
|
||||
('c', 'cc', [], 'email addresses of copy recipients'),
|
||||
('d', 'diffstat', None, 'add diffstat output to messages'),
|
||||
('g', 'git', None, _('use git extended diff format')),
|
||||
('f', 'from', '', 'email address of sender'),
|
||||
('', 'plain', None, 'omit hg patch header'),
|
||||
('n', 'test', None, 'print messages that would be sent'),
|
||||
|
Loading…
Reference in New Issue
Block a user