summaryrefslogtreecommitdiff
path: root/git/objects/tree.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-21 00:33:43 +0200
committerGitHub <noreply@github.com>2016-10-21 00:33:43 +0200
commitafcd64ebbb770908bd2a751279ff070dea5bb97c (patch)
tree0674f49f45996d533890e0f67498a6038c590168 /git/objects/tree.py
parentaab7dc2c7771118064334ee475dff8a6bb176b57 (diff)
parent66c41eb3b2b4130c7b68802dd2078534d1f6bf7a (diff)
downloadgitpython-afcd64ebbb770908bd2a751279ff070dea5bb97c.tar.gz
Merge pull request #539 from bryant1410/typos
Fix some typos
Diffstat (limited to 'git/objects/tree.py')
-rw-r--r--git/objects/tree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/objects/tree.py b/git/objects/tree.py
index 4f853f92..18c0add1 100644
--- a/git/objects/tree.py
+++ b/git/objects/tree.py
@@ -77,7 +77,7 @@ class TreeModifier(object):
"""A utility class providing methods to alter the underlying cache in a list-like fashion.
- Once all adjustments are complete, the _cache, which really is a refernce to
+ Once all adjustments are complete, the _cache, which really is a reference to
the cache of a tree, will be sorted. Assuring it will be in a serializable state"""
__slots__ = '_cache'
@@ -294,7 +294,7 @@ class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable):
return self._map_id_to_type[info[1] >> 12](self.repo, info[0], info[1], join_path(self.path, info[2]))
if isinstance(item, string_types):
- # compatability
+ # compatibility
return self.join(item)
# END index is basestring
@@ -308,7 +308,7 @@ class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable):
# END compare sha
# END for each entry
# END handle item is index object
- # compatability
+ # compatibility
# treat item as repo-relative path
path = self.path