GitPython icon indicating copy to clipboard operation
GitPython copied to clipboard

repo.tracked_files

Open hlb-schmidt opened this issue 6 years ago • 1 comments

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"...

hlb-schmidt avatar Mar 26 '19 08:03 hlb-schmidt

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.

Byron avatar Jul 20 '19 06:07 Byron