Add author_email to Wiki.get_history results
這個提交存在於:
父節點
dd5cbf5910
當前提交
c6f4ccd10b
共有 1 個檔案被更改,包括 2 行新增 和 1 行删除
|
|
@ -289,9 +289,10 @@ class Wiki(HookMixin):
|
|||
change_type = change.type
|
||||
elif change.new.path == file_path:
|
||||
change_type = change.type
|
||||
author_name, author_email = entry.commit.author.split('<')
|
||||
author_name, author_email = entry.commit.author.rstrip('>').split('<')
|
||||
versions.append(dict(
|
||||
author=author_name.strip(),
|
||||
author_email=author_email,
|
||||
time=entry.commit.author_time,
|
||||
message=entry.commit.message,
|
||||
sha=entry.commit.id,
|
||||
|
|
|
|||
載入中…
新增表格
Add a link
新增問題並參考