Dan Zwell <dzwell@xxxxxxxxx> wrote: > 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 when the list of files is truncated. > > Signed-off-by: Dan Zwell <dzwell@xxxxxxxxx> > --- > By the way, is the right way to deal with strings to be > translated? See the end of the patch. No. > + set warning "Displaying only $display_limit of " > + append warning "[llength $to_display] files." > + info_popup [mc $warning] This should be: info_popup [mc "Displaying only %s of %s files." $display_limit [llength $to_display]] > +msgid "Displaying only %s of %s files." > +msgstr "" So that then the placeholders are available here... -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html