mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
patchbomb: eliminate silly complete summary message
No longer makes sense without attachments
This commit is contained in:
parent
7f0689647a
commit
b7bf6330ab
@ -114,9 +114,11 @@ def patchbomb(ui, repo, *revs, **opts):
|
||||
if line.startswith('diff -r'): break
|
||||
desc.append(line)
|
||||
if not node: raise ValueError
|
||||
body = ('\n'.join(desc[1:]).strip() or
|
||||
'Patch subject is complete summary.')
|
||||
body += '\n\n\n'
|
||||
|
||||
#body = ('\n'.join(desc[1:]).strip() or
|
||||
# 'Patch subject is complete summary.')
|
||||
#body += '\n\n\n'
|
||||
|
||||
if opts['diffstat']:
|
||||
body += cdiffstat('\n'.join(desc), patch) + '\n\n'
|
||||
body += '\n'.join(patch)
|
||||
|
Loading…
Reference in New Issue
Block a user