File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 2626import uuid
2727from collections import defaultdict
2828from contextlib import contextmanager
29- from email .utils import formatdate
3029from itertools import zip_longest
3130from pathlib import Path
3231
@@ -230,18 +229,13 @@ def ensure_unstaged(self, path):
230229
231230 @contextmanager
232231 def commit (
233- self ,
234- author_date = None ,
235- commit_only = None ,
236- commit_empty = True ,
237- raise_if_empty = False
232+ self , commit_only = None , commit_empty = True , raise_if_empty = False
238233 ):
239234 """Automatic commit."""
240235 from git import Actor
241236 from renku .version import __version__ , version_url
242237
243238 diff_before = set ()
244- author_date = author_date or formatdate (localtime = True )
245239
246240 if commit_only == COMMIT_DIFF_STRATEGY :
247241 staged = {item .a_path for item in self .repo .index .diff (None )}
@@ -312,7 +306,6 @@ def commit(
312306 # Ignore pre-commit hooks since we have already done everything.
313307 self .repo .index .commit (
314308 ' ' .join (argv ),
315- author_date = author_date ,
316309 committer = committer ,
317310 skip_hooks = True ,
318311 )
You can’t perform that action at this time.
0 commit comments