aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/git/repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r--gbp/git/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index c9456a71..75f2ebc7 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -1530,7 +1530,7 @@ class GitRepository(object):
if not commit:
raise GitRepositoryError("Failed to commit tree")
self.update_ref("refs/heads/%s" % branch, commit, cur,
- msg="gbp: %s" % msg)
+ msg="gbp: %s" % msg.split('\n')[0])
return commit
def commit_tree(self, tree, msg, parents, author={}, committer={}):