There was an error while loading. Please reload this page.
1 parent 011cb0a commit 74f3c2eCopy full SHA for 74f3c2e
1 file changed
git/index/base.py
@@ -1467,7 +1467,13 @@ def reset(
1467
# does not handle NULL_TREE for `other`. (The suppressed mypy error is about this.)
1468
def diff(
1469
self,
1470
- other: Union[Literal[git_diff.DiffConstants.INDEX], "Tree", "Commit", str, None] = git_diff.INDEX, # type: ignore[override]
+ other: Union[ # type: ignore[override]
1471
+ Literal[git_diff.DiffConstants.INDEX],
1472
+ "Tree",
1473
+ "Commit",
1474
+ str,
1475
+ None,
1476
+ ] = git_diff.INDEX,
1477
paths: Union[PathLike, List[PathLike], Tuple[PathLike, ...], None] = None,
1478
create_patch: bool = False,
1479
**kwargs: Any,
0 commit comments