mercurial/hgweb/hgweb_mod.py
changeset 4325 aa26759c6fb3
parent 4301 f344440fdcb0
parent 4323 7843528a7922
child 4346 c593e502f7fd
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -257,7 +257,7 @@ class hgweb(object):
                 for q in qw:
                     if not (q in ctx.user().lower() or
                             q in ctx.description().lower() or
-                            q in " ".join(ctx.files()[:20]).lower()):
+                            q in " ".join(ctx.files()).lower()):
                         miss = 1
                         break
                 if miss: