##// END OF EJS Templates
rcextensions: updated example
marcink -
r3389:1934b7a2 default
parent child Browse files
Show More
@@ -48,9 +48,10 b' def get_git_commits(repo, refs):'
48 return commits
48 return commits
49
49
50 git_env = dict(data['git_env'])
50 git_env = dict(data['git_env'])
51 # https://github.com/git/git/blob/master/Documentation/pretty-formats.txt
51 cmd = [
52 cmd = [
52 'log',
53 'log',
53 '--pretty=format:{"commit_id": "%H", "author": "%aN <%aE>", "date": "%ad", "message": "%f"}',
54 '--pretty=format:{"commit_id": "%H", "author": "%aN <%aE>", "date": "%ad", "message": "%s"}',
54 '{}...{}'.format(old_rev, new_rev)
55 '{}...{}'.format(old_rev, new_rev)
55 ]
56 ]
56
57
General Comments 0
You need to be logged in to leave comments. Login now