| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 011cb0a commit 74f3c2e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1467,7 +1467,13 @@ def reset( | |||
| 1467 | 1467 | # does not handle NULL_TREE for `other`. (The suppressed mypy error is about this.) | |
| 1468 | 1468 | def diff( | |
| 1469 | 1469 | self, | |
| 1470 | - other: Union[Literal[git_diff.DiffConstants.INDEX], "Tree", "Commit", str, None] = git_diff.INDEX, # type: ignore[override] | ||
| 1470 | + other: Union[ # type: ignore[override] | ||
| 1471 | + Literal[git_diff.DiffConstants.INDEX], | ||
| 1472 | + "Tree", | ||
| 1473 | + "Commit", | ||
| 1474 | + str, | ||
| 1475 | + None, | ||
| 1476 | + ] = git_diff.INDEX, | ||
| 1471 | 1477 | paths: Union[PathLike, List[PathLike], Tuple[PathLike, ...], None] = None, | |
| 1472 | 1478 | create_patch: bool = False, | |
| 1473 | 1479 | **kwargs: Any, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments