Open bmccary opened 2 years ago
In the docstring for BaseRepository.diff, the kwarg argument should be flags, not flag (note the missing s).
BaseRepository.diff
kwarg
flags
flag
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
In the docstring for
BaseRepository.diff
, thekwarg
argument should beflags
, notflag
(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 isflags
, e.g.,https://github.com/libgit2/pygit2/blob/d32778816444d9420892f526d57fa5ec3f2cdbdd/pygit2/_pygit2.pyi#L543-L546