soramimi / Guitar

Git GUI Client
https://soramimi.github.io/Guitar/
GNU General Public License v2.0
1.57k stars 124 forks source link

rewrite the code to build the repo tree; don't repeat upper directories over and over #110

Closed gbl closed 3 years ago

gbl commented 3 years ago

If you have a lot of directories and subdirectories in your repo structure, Guitar repeats the whole directory structure every time a subdirectory changes. This uses up a lot of space for the duplicate directory names, and makes it hard to show/hide a top-level directory completely.

I rewrote the code that creates that tree to make sure every directory is shown only once. See the attached image for before (left) and after (right).

image