git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Feature request - summarise changes by folder

From
AKAlex Kubiesa <alex.kubiesa@outlook.com>
Date
Mar 9, 2024, 10:05 UTC
Message-ID
<CWXP123MB5097836BE3E01F6F90487C3580262@CWXP123MB5097.GBRP123.PROD.OUTLOOK.COM>
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

Message 1 of 1 in “Feature request - summarise changes by folder”
  1. Alex KubiesaMar 9, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.