author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 13 Nov 2006 00:33:33 +0000 (19:33 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 13 Nov 2006 05:10:40 +0000 (00:10 -0500) | ||
commit | 7f09cfafa8acf507f3a1358e05002e566f41783f | |
tree | 22feae1e306ac7eee5bef205a5aa5f58964abe69 | tree | snapshot |
parent | aaf1085a03a53eacff1b26459d0281a133f573d5 | commit | diff |
git-gui: Use a smaller pipe buffer for update-index.
When we shove a large number of files at update-index and they have
very short path names we are likely going to fit a large number of
them into the pipe buffer very early; thereby seeing a huge progress
update followed by lots of waiting between progress updates due to
the latency of update-index.
Using a smaller buffer should help smooth out the progress updates
as we are better able to keep tabs on the update-index process'
progress through our list of paths.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When we shove a large number of files at update-index and they have
very short path names we are likely going to fit a large number of
them into the pipe buffer very early; thereby seeing a huge progress
update followed by lots of waiting between progress updates due to
the latency of update-index.
Using a smaller buffer should help smooth out the progress updates
as we are better able to keep tabs on the update-index process'
progress through our list of paths.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |