libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.58k stars 382 forks source link

Repository.status() parsing #1116

Open csm10495 opened 2 years ago

csm10495 commented 2 years ago

Is there a built-in utility to coerce a value from .status() into a string of flags by name?

If not is this something that could be PR'd?

csm10495 commented 2 years ago

Could we change status() to give an IntFlag instead of raw int? That would be nice, but may not be fully backwards compatible.