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 26
26
import uuid
27
27
from collections import defaultdict
28
28
from contextlib import contextmanager
29
- from email .utils import formatdate
30
29
from itertools import zip_longest
31
30
from pathlib import Path
32
31
@@ -230,18 +229,13 @@ def ensure_unstaged(self, path):
230
229
231
230
@contextmanager
232
231
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
238
233
):
239
234
"""Automatic commit."""
240
235
from git import Actor
241
236
from renku .version import __version__ , version_url
242
237
243
238
diff_before = set ()
244
- author_date = author_date or formatdate (localtime = True )
245
239
246
240
if commit_only == COMMIT_DIFF_STRATEGY :
247
241
staged = {item .a_path for item in self .repo .index .diff (None )}
@@ -312,7 +306,6 @@ def commit(
312
306
# Ignore pre-commit hooks since we have already done everything.
313
307
self .repo .index .commit (
314
308
' ' .join (argv ),
315
- author_date = author_date ,
316
309
committer = committer ,
317
310
skip_hooks = True ,
318
311
)
You can’t perform that action at this time.
0 commit comments