GitPython
GitPython copied to clipboard
repo.tracked_files
https://gitpython.readthedocs.io/en/stable/tutorial.html tells that there is repo.untracked_files to get list of untracked files.
therefor, there should be repo.tracked_files to get list of tracked files.
ps. how do we even do it now? https://gitpython.readthedocs.io/en/stable/reference.html has no mention of "tracked files"...
Even though one can certainly get a list of tracked files by iterating a Tree object, I agree it would be nice to have a symmetric API.
About the post scriptum, when looking for documentation, I could find it. Personally I find the generated docs rather convoluted, which certainly doesn't make it easy to find what one is looking for.