Send the full first line of the commit message to Zulip.
(imported from commit accafb1cd2fa64ad1377d0fc72ff8f89c1806d3b)
This commit is contained in:
parent
a9e8d1a2a2
commit
50cdc6853d
|
@ -74,8 +74,6 @@ def git_commit_range(oldrev, newrev):
|
||||||
commits = ''
|
commits = ''
|
||||||
for ln in subprocess.check_output(log_cmd).splitlines():
|
for ln in subprocess.check_output(log_cmd).splitlines():
|
||||||
email, subject = ln.split(None, 1)
|
email, subject = ln.split(None, 1)
|
||||||
if len(subject) > 60:
|
|
||||||
subject = subject[:57].rstrip() + '...'
|
|
||||||
commits += '!gravatar(%s) %s\n' % (email, subject)
|
commits += '!gravatar(%s) %s\n' % (email, subject)
|
||||||
return commits
|
return commits
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue