From d40aedb4035fd9ab533cdb3eceb320f89e700512 Mon Sep 17 00:00:00 2001 From: David Host <40680881+CptMikhailov@users.noreply.github.com> Date: Tue, 12 Feb 2019 20:54:28 -0500 Subject: [PATCH 1/2] Update commit.py constructor docstring Fixes issue #806: Commit requires author parameter to be of Actor type, not string. --- git/objects/commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/objects/commit.py b/git/objects/commit.py index b7d27d92c..9736914af 100644 --- a/git/objects/commit.py +++ b/git/objects/commit.py @@ -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 From c7e26441118ba9cf50b5883bf65dc6545d439a16 Mon Sep 17 00:00:00 2001 From: David Host <40680881+CptMikhailov@users.noreply.github.com> Date: Tue, 12 Feb 2019 20:57:52 -0500 Subject: [PATCH 2/2] Added name to authors Fixed issue #806 --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 2e006ba23..d2483dd42 100644 --- a/AUTHORS +++ b/AUTHORS @@ -28,5 +28,6 @@ Contributors are: -Yaroslav Halchenko -Tim Swast -William Luc Ritchie +-David Host Portions derived from other open source works and are clearly marked.