Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ Contributors are:
-Jonas Scharpf <jonas.scharpf _at_ checkmk.com>
-Gordon Marx
-Enji Cooper
-Harshita Yadav <harshitayadav504 _at_ gmail.com>

Portions derived from other open source works and are clearly marked.
5 changes: 5 additions & 0 deletions git/objects/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ def stats(self) -> Stats:
"""Create a git stat from changes between this commit and its first parent
or from all changes done if this is the very first commit.

:note:
If this commit is at the boundary of a shallow clone, this will
raise :exc:`~git.exc.GitCommandError`, since the parent object
was never fetched and only exists as a reference on this commit.

:return:
:class:`Stats`
"""
Expand Down
Loading