summaryrefslogtreecommitdiff
path: root/git/objects/fun.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/objects/fun.py')
-rw-r--r--git/objects/fun.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/objects/fun.py b/git/objects/fun.py
index ba8dbcf4..c04f80b5 100644
--- a/git/objects/fun.py
+++ b/git/objects/fun.py
@@ -40,6 +40,7 @@ def tree_to_stream(entries, write):
write(b''.join((mode_str, b' ', name, b'\0', binsha)))
# END for each item
+
def tree_entries_from_data(data):
"""Reads the binary representation of a tree and returns tuples of Tree items
:param data: data block with tree data (as bytes)