git.samba.org
/
jelmer
/
dulwich.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e981122
)
Add Index.items.
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Sun, 24 Jun 2018 00:38:30 +0000
(
01:38
+0100)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Sun, 24 Jun 2018 00:38:30 +0000
(
01:38
+0100)
NEWS
patch
|
blob
|
history
dulwich/index.py
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index 00c35e8edfbc2bdf959bdcb59119f073296ea9ec..0123e51825fac7858c7ccce76f6a8f25120ac0b1 100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-4,7
+4,7
@@
* Add ``porcelain.ls_files``. (Jelmer Vernooij)
- * Add ``Index.ite
rite
ms``. (Jelmer Vernooij)
+ * Add ``Index.items``. (Jelmer Vernooij)
BUG FIXES
diff --git
a/dulwich/index.py
b/dulwich/index.py
index daa11d38c71cd8ed7f35165fe51df76f743e5536..20daa5971ea816a4a506f7d8d1fd22689a40a536 100644
(file)
--- a/
dulwich/index.py
+++ b/
dulwich/index.py
@@
-295,6
+295,9
@@
class Index(object):
def iteritems(self):
return self._byname.items()
+ def items(self):
+ return self._byname.items()
+
def update(self, entries):
for name, value in entries.items():
self[name] = value