summaryrefslogtreecommitdiff
path: root/git/index
diff options
context:
space:
mode:
authoravi <hi@avi.im>2015-07-17 22:18:46 +0530
committeravi <hi@avi.im>2015-07-17 22:18:46 +0530
commite3068025b64bee24efc1063aba5138708737c158 (patch)
tree5c30bdc8849ae56b887a1da500f7e775b656d582 /git/index
parent141b78f42c7a3c1da1e5d605af3fc56aceb921ab (diff)
downloadgitpython-e3068025b64bee24efc1063aba5138708737c158.tar.gz
added tests for commits with dates
Diffstat (limited to 'git/index')
-rw-r--r--git/index/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py
index 78120da3..b955dae4 100644
--- a/git/index/base.py
+++ b/git/index/base.py
@@ -922,7 +922,8 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable):
return out
- def commit(self, message, parent_commits=None, head=True, author=None, committer=None, author_date=None, commit_date=None):
+ def commit(self, message, parent_commits=None, head=True, author=None,
+ committer=None, author_date=None, commit_date=None):
"""Commit the current default index file, creating a commit object.
For more information on the arguments, see tree.commit.