From 509c3b4dc3e7b6fd47fe5f52f2e1e509256aa122 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 9 Aug 2013 10:34:38 -0400 Subject: [PATCH] Send the full first line of the commit message to Zulip. (imported from commit accafb1cd2fa64ad1377d0fc72ff8f89c1806d3b) --- api/integrations/git/post-receive | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/integrations/git/post-receive b/api/integrations/git/post-receive index 6169fad36f..0424d0f9b6 100755 --- a/api/integrations/git/post-receive +++ b/api/integrations/git/post-receive @@ -74,8 +74,6 @@ def git_commit_range(oldrev, newrev): commits = '' for ln in subprocess.check_output(log_cmd).splitlines(): email, subject = ln.split(None, 1) - if len(subject) > 60: - subject = subject[:57].rstrip() + '...' commits += '!gravatar(%s) %s\n' % (email, subject) return commits