diff --git a/CHANGELOG.md b/CHANGELOG.md index be147c78..4b247d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Fixed an issue where the value for ALWAYS_INDEX_FILE_PATTERNS env var wasn't being parsed correctly [#773](https://github.com/sourcebot-dev/sourcebot/pull/773) + ## [4.10.14] - 2026-01-21 ### Fixed diff --git a/packages/backend/src/zoekt.ts b/packages/backend/src/zoekt.ts index 68af1160..7c802d89 100644 --- a/packages/backend/src/zoekt.ts +++ b/packages/backend/src/zoekt.ts @@ -23,7 +23,7 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, revisio `-tenant_id ${repo.orgId}`, `-repo_id ${repo.id}`, `-shard_prefix ${shardPrefix}`, - ...largeFileGlobPatterns.map((pattern) => `-large_file ${pattern}`), + ...largeFileGlobPatterns.map((pattern) => `-large_file "${pattern}"`), repoPath ].join(' ');