Skip to content

Jgit import#20

Merged
devn merged 7 commits into
Datomic:masterfrom
devn:jgit-import
Jun 18, 2026
Merged

Jgit import#20
devn merged 7 commits into
Datomic:masterfrom
devn:jgit-import

Conversation

@devn

@devn devn commented Jun 18, 2026

Copy link
Copy Markdown
Member

The import path shelled out to git cat-file once per object (every commit, tree, and blob), which is slow on repos with a lot of history. This swaps that for JGit, which reads the same objects in-process.

I checked parity by importing the first 250 commits of clojure/clojure with the old code and the new code and diffing the resulting db. Everything matches except trailing newlines getting trimmed off commit messages.

@devn
devn merged commit e9cf286 into Datomic:master Jun 18, 2026
@devn devn mentioned this pull request Jun 18, 2026
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