summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-09 15:49:32 +0100
committerYobmod <yobmod@gmail.com>2021-07-09 15:49:32 +0100
commite7b685db1bf4d9d6aa3f95f4df3fda5992dab14c (patch)
treea61d1565a93ab1598a9b58ac2ce2f19af15fb103 /git/diff.py
parentf916c148ea956655837a98817778abe685bf7ee7 (diff)
downloadgitpython-e7b685db1bf4d9d6aa3f95f4df3fda5992dab14c.tar.gz
Rmv Diffable assert, add Remoote.url property
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py
index 4024776d..1e2ee740 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -143,8 +143,6 @@ class Diffable(object):
if hasattr(self, 'Has_Repo'):
self.repo: Repo = self.repo
- else:
- raise AttributeError("No repo member found, cannot create DiffIndex")
diff_cmd = self.repo.git.diff
if other is self.Index: