diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2014-11-17 11:00:02 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2014-11-17 11:00:02 +0100 |
commit | 9eb902eee03806db5868fc84afb23aa28802e841 (patch) | |
tree | 9e557ba5b510b2d68046481e8d185321dd88860b /git/index/base.py | |
parent | 322db077a693a513e79577a0adf94c97fc2be347 (diff) | |
parent | ba67e4ff74e97c4de5d980715729a773a48cd6bc (diff) | |
download | gitpython-9eb902eee03806db5868fc84afb23aa28802e841.tar.gz |
Merge branch 'firm1-0.3' into 0.3
This includes a few fixes to not break backwards compatiblity
Diffstat (limited to 'git/index/base.py')
-rw-r--r-- | git/index/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/index/base.py b/git/index/base.py index f11f4492..47c32dc6 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -867,7 +867,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): return out - def commit(self, message, parent_commits=None, head=True): + def commit(self, message, parent_commits=None, head=True, author=None, committer=None): """Commit the current default index file, creating a commit object. For more information on the arguments, see tree.commit. @@ -878,7 +878,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): :return: Commit object representing the new commit""" tree = self.write_tree() - return Commit.create_from_tree(self.repo, tree, message, parent_commits, head) + return Commit.create_from_tree(self.repo, tree, message, parent_commits, head, author=author, committer=committer) @classmethod def _flush_stdin_and_wait(cls, proc, ignore_stdout=False): |