8000 fix(index): remove invalid keyword argument · SnakeByte-61/GitPython@c1d3302 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)
0