summaryrefslogtreecommitdiff
path: root/lib/git_python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git_python')
-rw-r--r--lib/git_python/repo.py2
-rw-r--r--lib/git_python/tree.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/git_python/repo.py b/lib/git_python/repo.py
index 0c20b6e3..c71ae6fb 100644
--- a/lib/git_python/repo.py
+++ b/lib/git_python/repo.py
@@ -185,7 +185,7 @@ class Repo(object):
``treeish``
is the reference (default 'master')
``paths``
- is an optional Array of directory paths to restrict the tree (deafult [])
+ is an optional Array of directory paths to restrict the tree (default [])
Examples::
diff --git a/lib/git_python/tree.py b/lib/git_python/tree.py
index 3faec26b..9c4dab1d 100644
--- a/lib/git_python/tree.py
+++ b/lib/git_python/tree.py
@@ -7,6 +7,8 @@ class Tree(LazyMixin):
LazyMixin.__init__(self)
self.repo = repo
self.id = None
+ self.mode = None
+ self.name = None
self.contents = None
for k, v in kwargs.items():