summaryrefslogtreecommitdiff
path: root/git/objects/tree.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-09 15:07:50 +0100
committerYobmod <yobmod@gmail.com>2021-07-09 15:07:50 +0100
commit7c6ae2b94cfd1593c12366b6abc0cd5bbb6e07b2 (patch)
tree65288c0fc32f295ebe440a27033d4270ea8430f5 /git/objects/tree.py
parent627166094f9280a3e00b755b754a4bd6ed72bb66 (diff)
downloadgitpython-7c6ae2b94cfd1593c12366b6abc0cd5bbb6e07b2.tar.gz
Try to distinguation git.diff module from diff.Diff.diff and diff.Daffable.diff()
Diffstat (limited to 'git/objects/tree.py')
-rw-r--r--git/objects/tree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/objects/tree.py b/git/objects/tree.py
index 9d221652..4c2a02bf 100644
--- a/git/objects/tree.py
+++ b/git/objects/tree.py
@@ -5,7 +5,7 @@
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
from git.util import IterableList, join_path
-import git.diff as diff
+import git.diff as git_diff
from git.util import to_bin_sha
from . import util
@@ -180,7 +180,7 @@ class TreeModifier(object):
#} END mutators
-class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable):
+class Tree(IndexObject, git_diff.Diffable, util.Traversable, util.Serializable):
"""Tree objects represent an ordered list of Blobs and other Trees.