author | Dan Zwell <dzwell@zwell.net> | |
Tue, 11 Aug 2009 18:50:00 +0000 (13:50 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 12 Aug 2009 14:41:52 +0000 (07:41 -0700) | ||
commit | dd6451f9c7c5a36d3006231b618ac6da06c7c7b4 | |
tree | 2c182bb5a63e821925eeb689d7392910b3f26575 | tree | snapshot |
parent | 2112be76508aa5d480a8cefeb634444acefcf598 | commit | diff |
git-gui: Limit display to a maximum number of files
When there is a large number of new or modified files,
"display_all_files" takes a long time, and git-gui appears to hang.
This change limits the number of files that are displayed. This
limit can be set as gui.maxfilesdisplayed, and is 5000 by default.
A warning is shown the first time the list of files is truncated
in this GUI session. Subsequent truncations are not mentioned to
the user.
Signed-off-by: Dan Zwell <dzwell@zwell.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When there is a large number of new or modified files,
"display_all_files" takes a long time, and git-gui appears to hang.
This change limits the number of files that are displayed. This
limit can be set as gui.maxfilesdisplayed, and is 5000 by default.
A warning is shown the first time the list of files is truncated
in this GUI session. Subsequent truncations are not mentioned to
the user.
Signed-off-by: Dan Zwell <dzwell@zwell.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
po/git-gui.pot | diff | blob | history |