summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorDan Zwell <dzwell@zwell.net>2009-08-11 18:50:00 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2009-08-12 14:41:52 (GMT)
commitdd6451f9c7c5a36d3006231b618ac6da06c7c7b4 (patch)
tree2c182bb5a63e821925eeb689d7392910b3f26575 /po
parent2112be76508aa5d480a8cefeb634444acefcf598 (diff)
downloadgit-dd6451f9c7c5a36d3006231b618ac6da06c7c7b4.zip
git-dd6451f9c7c5a36d3006231b618ac6da06c7c7b4.tar.gz
git-dd6451f9c7c5a36d3006231b618ac6da06c7c7b4.tar.bz2
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>
Diffstat (limited to 'po')
-rw-r--r--po/git-gui.pot5
1 files changed, 5 insertions, 0 deletions
diff --git a/po/git-gui.pot b/po/git-gui.pot
index 53b7d36..074582d 100644
--- a/po/git-gui.pot
+++ b/po/git-gui.pot
@@ -90,6 +90,11 @@ msgstr ""
msgid "Ready."
msgstr ""
+#: git-gui.sh:1726
+#, tcl-format
+msgid "Displaying only %s of %s files."
+msgstr ""
+
#: git-gui.sh:1819
msgid "Unmodified"
msgstr ""