pygit2
pygit2 copied to clipboard
Docstring Typo
In the docstring for BaseRepository.diff
, the kwarg
argument should be flags
, not flag
(note the missing s).
https://github.com/libgit2/pygit2/blob/d32778816444d9420892f526d57fa5ec3f2cdbdd/pygit2/repository.py#L509-L512
The function BaseRepository.diff
maps to various other functions where the argument is flags
, e.g.,
https://github.com/libgit2/pygit2/blob/d32778816444d9420892f526d57fa5ec3f2cdbdd/pygit2/_pygit2.pyi#L543-L546