Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62c0823 commit 7204cc1Copy full SHA for 7204cc1
git/diff.py
@@ -157,8 +157,9 @@ def diff(
157
158
:note:
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.
+ :class:`~Diffable.Index`, or as an instance of
+ :class:`~git.objects.tree.Tree` or :class:`~git.objects.commit.Commit`, or a
162
+ git command error will occur.
163
"""
164
args: List[Union[PathLike, Diffable, Type["Diffable.Index"]]] = []
165
args.append("--abbrev=40") # We need full shas.
0 commit comments