summaryrefslogtreecommitdiff
path: root/git/index
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-07-20 09:30:24 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-07-20 09:30:24 +0200
commitc1d33021feb7324e0f2f91c947468bf282f036d2 (patch)
tree3436513fc277b259ca7b8173b7712f781259141c /git/index
parent3c8a33e2c9cae8deef1770a5fce85acb2e85b5c6 (diff)
downloadgitpython-c1d33021feb7324e0f2f91c947468bf282f036d2.tar.gz
fix(index): remove invalid keyword argument
It was a left-over of some prior hacking that was not removed by accident.
Diffstat (limited to 'git/index')
-rw-r--r--git/index/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py
index 4317d46a..753fa4ae 100644
--- a/git/index/base.py
+++ b/git/index/base.py
@@ -610,7 +610,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable):
blob = Blob(self.repo, Blob.NULL_BIN_SHA,
stat_mode_to_index_mode(os.stat(abspath).st_mode),
- to_native_path_linux(gitrelative_path), encoding=defenc)
+ to_native_path_linux(gitrelative_path))
# TODO: variable undefined
entries.append(BaseIndexEntry.from_blob(blob))
# END for each path