File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,23 @@ async function resolveExistingRgPath(): Promise<string | null> {
5454}
5555
5656let ripgrepAcquisitionPromise : Promise < string | null > | null = null ;
57-
57+ /**
58+ * Ensures a ripgrep binary is available.
59+ *
60+ * NOTE:
61+ * - The Gemini CLI currently prefers a managed ripgrep binary downloaded
62+ * into its global bin directory.
63+ * - Even if ripgrep is available on the system PATH, it is intentionally
64+ * not used at this time.
65+ *
66+ * Preference for system-installed ripgrep is blocked on:
67+ * - checksum verification of external binaries
68+ * - internalization of the get-ripgrep dependency
69+ *
70+ * See:
71+ * - feat(core): Prefer rg in system path (#11847)
72+ * - Move get-ripgrep to third_party (#12099)
73+ */
5874async function ensureRipgrepAvailable ( ) : Promise < string | null > {
5975 const existingPath = await resolveExistingRgPath ( ) ;
6076 if ( existingPath ) {
You can’t perform that action at this time.
0 commit comments