| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -157,8 +157,9 @@ def diff( | |||
| 157 | 157 | ||
| 158 | 158 | :note: | |
| 159 | 159 | On a bare repository, `other` needs to be provided as | |
| 160 | - :class:`~Diffable.Index`, or as :class:`~git.objects.tree.Tree` or | ||
| 161 | - :class:`~git.objects.commit.Commit`, or a git command error will occur. | ||
| 160 | + :class:`~Diffable.Index`, or as an instance of | ||
| 161 | + :class:`~git.objects.tree.Tree` or :class:`~git.objects.commit.Commit`, or a | ||
| 162 | + git command error will occur. | ||
| 162 | 163 | """ | |
| 163 | 164 | args: List[Union[PathLike, Diffable, Type["Diffable.Index"]]] = [] | |
| 164 | 165 | args.append("--abbrev=40") # We need full shas. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments