diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-02-06 08:52:24 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-02-06 19:25:03 +0100 |
commit | 03bb8ef8e442c356b55d19e5f2422aa0b62d3a75 (patch) | |
tree | 95cec9ce381643ff54c46602eac01bca5c4568ba /gbp/git | |
parent | d31fb0b47bb0fc6c25f159caa4c3e2068d9ccbd5 (diff) |
GitRepository: shorten reflog message
Closes: #854333
Thanks: Chris Lamb for the report
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/repository.py | 2 |
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={}): |