[Python-modules-commits] [dulwich] 09/19: Force IndexEntry for newly assigned index entries.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Sun Oct 29 17:22:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch master
in repository dulwich.
commit f6ad47b0dad58c174c9ba69f6bd0e680a34f9984
Author: Jelmer Vernooij <jelmer at debian.org>
Date: Wed Oct 18 23:31:16 2017 +0100
Force IndexEntry for newly assigned index entries.
---
dulwich/index.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dulwich/index.py b/dulwich/index.py
index ac0c0f1..7e0b79d 100644
--- a/dulwich/index.py
+++ b/dulwich/index.py
@@ -276,7 +276,7 @@ class Index(object):
assert isinstance(name, bytes)
assert len(x) == 10
# Remove the old entry if any
- self._byname[name] = x
+ self._byname[name] = IndexEntry(*x)
def __delitem__(self, name):
assert isinstance(name, bytes)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dulwich.git
More information about the Python-modules-commits
mailing list