From ac39679ce170c5eb21f98ac23ac0358850e8974f Mon Sep 17 00:00:00 2001 From: Yobmod Date: Mon, 19 Jul 2021 16:55:03 +0100 Subject: Make types in refs compatible with previous --- git/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/diff.py') 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: -- cgit v1.2.1