Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update commit.py constructor docstring
Fixes issue #806: Commit requires author parameter to be of Actor type, not string.
  • Loading branch information
CptMikhailov authored Feb 13, 2019
commit d40aedb4035fd9ab533cdb3eceb320f89e700512
2 changes: 1 addition & 1 deletion git/objects/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, repo, binsha, tree=None, author=None, authored_date=None, aut
:param tree: Tree
Tree object
:param author: Actor
is the author string ( will be implicitly converted into an Actor object )
is the author Actor object
:param authored_date: int_seconds_since_epoch
is the authored DateTime - use time.gmtime() to convert it into a
different format
Expand Down