Skip to content

Use shared history module for repository traversal - #4

Open
andrew wants to merge 1 commit into
mainfrom
history-module-perf
Open

andrew wants to merge 1 commit into
mainfrom
history-module-perf

Conversation

@andrew

@andrew andrew commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Replace duplicate repository traversal, blob reading, and history spooling with github.com/git-pkgs/history v0.1.1. Use roles for legal-path discovery and remove the go-git and go-billy fork replacements.

Adopt the history module's tuning defaults, use GOMAXPROCS for automatic blob-reader counts, and default to at most four history workers. Remove --gogit-object-infos, --gogit-object-buffer, and --gogit-object-batch, which the published module does not support.

Expand the packed-scan regression to 1,100 files to cover tree-entry buffer boundaries, check that the missing-tree fixture is unreadable before scanning, and exercise grouped history output through both backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant