You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(backend): write changed-path Bloom filters to commit-graph (#1198)
* feat(backend): write changed-path Bloom filters to commit-graph
Writes --changed-paths when building the commit-graph, which adds Bloom
filters that let git cheaply skip commits that did not touch a given
path. This dramatically accelerates `git log -- <path>` and modestly
helps `git blame` on large repos.
Existing repos that already have a Bloom-less commit-graph get a
one-time `--split=replace` rewrite on their next fetch, gated on a new
`commitGraphChangedPathsBackfilledAt` timestamp stored in repo metadata.
Subsequent fetches do a cheap incremental write.
Also moves the `writeCommitGraph` call out of `cloneRepository` and into
`RepoIndexManager.indexRepository` so clone and fetch paths handle the
commit-graph symmetrically. Drops `--write-commit-graph` from the fetch
invocation since that flag does not honor `--changed-paths`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
23
### Changed
24
24
- Reduced the log verbosity of the worker by changing various log messages from info to debug. [#1179](https://github.com/sourcebot-dev/sourcebot/pull/1179)
25
25
-[EE] Switched symbol hover detection to use Lezer highlight tags, broadening identifier coverage. [#1194](https://github.com/sourcebot-dev/sourcebot/pull/1194)
26
+
- Improved git history and blame performance on large repositories. [#1198](https://github.com/sourcebot-dev/sourcebot/pull/1198)
0 commit comments