rcextensions: updated example
This commit is contained in:
parent
a005be6f2f
commit
4f25e2e7ea
1 changed files with 2 additions and 1 deletions
|
|
@ -48,9 +48,10 @@ def get_git_commits(repo, refs):
|
|||
return commits
|
||||
|
||||
git_env = dict(data['git_env'])
|
||||
# https://github.com/git/git/blob/master/Documentation/pretty-formats.txt
|
||||
cmd = [
|
||||
'log',
|
||||
'--pretty=format:{"commit_id": "%H", "author": "%aN <%aE>", "date": "%ad", "message": "%f"}',
|
||||
'--pretty=format:{"commit_id": "%H", "author": "%aN <%aE>", "date": "%ad", "message": "%s"}',
|
||||
'{}...{}'.format(old_rev, new_rev)
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue