summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-19 16:55:03 +0100
committerYobmod <yobmod@gmail.com>2021-07-19 16:55:03 +0100
commitac39679ce170c5eb21f98ac23ac0358850e8974f (patch)
tree0a552c49d9358dffcb2272c42fa4c8d50acda2fe /git/diff.py
parent8fc25c63d9282ddc6b3162c2d92679a89e934ec5 (diff)
downloadgitpython-ac39679ce170c5eb21f98ac23ac0358850e8974f.tar.gz
Make types in refs compatible with previous
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/diff.py b/git/diff.py
index 51dac390..f8c0c25f 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -143,7 +143,7 @@ class Diffable(object):
paths = [paths]
if hasattr(self, 'Has_Repo'):
- self.repo: Repo = self.repo
+ self.repo: 'Repo' = self.repo
diff_cmd = self.repo.git.diff
if other is self.Index: