diff of blob to blob in repository.diff
This commit is contained in:
parent
99e1cad393
commit
08f2956e97
@ -413,7 +413,7 @@ class Repository(_Repository):
|
||||
|
||||
# Case 4: Diff blob to blob
|
||||
if isinstance(a, Blob) and isinstance(b, Blob):
|
||||
raise NotImplementedError('git_diff_blob_to_blob()')
|
||||
return a.diff(b)
|
||||
|
||||
raise ValueError("Only blobs and treeish can be diffed")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user