Show More
@@ -156,8 +156,7 b' def patchbomb(ui, repo, *revs, **opts):' | |||
|
156 | 156 | body += '\n'.join(patch) |
|
157 | 157 | msg = email.MIMEText.MIMEText(body) |
|
158 | 158 | |
|
159 | subj = desc[0].strip() | |
|
160 | if subj.endswith('.'): subj = subj[:-1] | |
|
159 | subj = desc[0].strip().rstrip('. ') | |
|
161 | 160 | if total == 1: |
|
162 | 161 | subj = '[PATCH] ' + (opts['subject'] or subj) |
|
163 | 162 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now