shortify push range url

This commit is contained in:
jesopo 2019-06-27 11:08:18 +01:00
parent f61e3e2b99
commit e1f34c4b8a

View file

@ -215,7 +215,8 @@ class GitHub(object):
% (author, forced_str, hash_colored, branch, message, url))
else:
outputs.append("%s %spushed %d commits to %s - %s"
% (author, forced_str, len(commits), branch, range_url))
% (author, forced_str, len(commits), branch,
self._short_url(range_url)))
return outputs