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

git-gui is slow to display a large number of changed/new files

From
DZDan Zwell <dzwell@zwell.net>
Date
Jun 29, 2009, 21:19 UTC
Message-ID
<4A492FFA.5030703@zwell.net>
Hello,

I was recently working on a project with tens of thousands of generated files. The generated directory was not intended to be tracked by git, but I had forgotten to add it to .gitignore. When I tried to use git-gui, it seemed to hang for about a minute. The problem is that creating the icons in the "staged changes" and "unstaged changes" windows is very slow. This data is redisplayed after several operations, and the lag makes git-gui unusable.

Is this behavior worth changing? I doubt the scenario I encountered is a common one. However, I have written a patch to display at most 5000 changed/new files, warning the user that the list has been truncated. If this is a worthy change, I can submit the patch--I can also change it so that the maximum number of displayed files is taken from git's configuration.

Thanks -Daniel

Next: Alex Riesen
Message 1 of 2 in “git-gui is slow to display a large number of changed/new files”
  1. Dan ZwellJun 29, 2009
  2. Alex RiesenJun 30, 2009

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.