Skip to content

Commit c1d3302

Browse files
committed
fix(index): remove invalid keyword argument
It was a left-over of some prior hacking that was not removed by accident.
1 parent 3c8a33e commit c1d3302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/index/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def _entries_for_paths(self, paths, path_rewriter, fprogress, entries):
610610

611611
blob = Blob(self.repo, Blob.NULL_BIN_SHA,
612612
stat_mode_to_index_mode(os.stat(abspath).st_mode),
613-
to_native_path_linux(gitrelative_path), encoding=defenc)
613+
to_native_path_linux(gitrelative_path))
614614
# TODO: variable undefined
615615
entries.append(BaseIndexEntry.from_blob(blob))
616616
# END for each path

0 commit comments

Comments
 (0)