Feature request - summarise changes by folder

From: Alex Kubiesa <hidden>
Date: 2024-03-09 10:05:16

Hi,

I'm new here so please let me know if there is a better place/format to post something like this.

I am using Git for a personal ML project which has a large number of image files (about 32,000 as of today). Every time I add or remove image data, the number or added/deleted files is so large that it overwhelms Git Bash and other Git clients and IDE extensions. If I have other unstaged changes at the same time, for example changing a few lines in a data generating script, they get lost in the noise.

To solve this, my suggestion would be to add an option to `git diff` or `git status` which counts added/deleted/changed files by folder. From that information, one could drill down into specific folders to get a handle on all the changes. I tried some existing options like `git diff --dirstat=files` and `git diff --shortstat` but neither of these gave me enough confidence to stage and commit my changes.

For now, I am piping `git status` to a file and scanning through the file manually, but it would be great if there was a better option.

Thanks,
Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help