Doku vervollständigt, kleinere Fehler bereinigt
This commit is contained in:
12
post-commit
12
post-commit
@ -17,12 +17,12 @@ headcommit = repo.head.commit
|
||||
index = repo.index
|
||||
|
||||
commFiles = git.diff_tree('-r', 'HEAD', no_commit_id=True, name_only=True).split("\n")
|
||||
date = [time.strftime("%d. %B %Y %H:%M", time.gmtime(headcommit.authored_date)),
|
||||
time.strftime("%d", time.gmtime(headcommit.authored_date)),
|
||||
time.strftime("%m", time.gmtime(headcommit.authored_date)),
|
||||
time.strftime("%Y", time.gmtime(headcommit.authored_date)),
|
||||
time.strftime("%H", time.gmtime(headcommit.authored_date)),
|
||||
time.strftime("%M", time.gmtime(headcommit.authored_date))]
|
||||
date = [time.strftime("%d. %B %Y %H:%M", time.localtime(headcommit.authored_date)),
|
||||
time.strftime("%d", time.localtime(headcommit.authored_date)),
|
||||
time.strftime("%m", time.localtime(headcommit.authored_date)),
|
||||
time.strftime("%Y", time.localtime(headcommit.authored_date)),
|
||||
time.strftime("%H", time.localtime(headcommit.authored_date)),
|
||||
time.strftime("%M", time.localtime(headcommit.authored_date))]
|
||||
author = [headcommit.author.name, headcommit.author.email]
|
||||
commit = [headcommit.hexsha, headcommit.hexsha[:6]]
|
||||
#commit = git.log('-1', format='%h').rstrip()
|
||||
|
Reference in New Issue
Block a user