SIGN IN SIGN UP

fix(tool): enforce the global code search result limit (#1306)

* fix(tool): enforce the global code search result limit

* fix(tool): report matched-file count in code search truncation notice

Scan all git-grep output to count distinct files with text matches instead
of stopping at the 101st match, so the truncation note reports the true
matched-file count and signals that some files are partially shown or omitted.

* feat: Apply suggestion from @lizhengfeng101

---------

Co-authored-by: kite <lizhengfeng.lzf@alibaba-inc.com>
Co-authored-by: Kite <254839944+lizhengfeng101@users.noreply.github.com>
W
wxggzz committed
f6f0f792eade540d0ae0145bc187e59201e43dfa
Parent: f44c19f
Committed by GitHub <noreply@github.com> on 9/17/2026, 7:49:25 AM