pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

Docstring Typo

Open bmccary opened this issue 2 years ago • 0 comments

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

bmccary avatar Apr 20 '22 18:04 bmccary