/ 75 entries
- .forgejo/ (directory) ci: run the tests on the arch runner with git 2.45 or newer
- testdata/ (directory) test(graph): git conformance, synthetic corruption, fuzz seeds and benchmarks for commit-graph
- .gitignore 19 B chore(git): ignore .worktrees
- .golangci.yml 176 B chore: bootstrap ermite-git module with license, readme and CI
- LICENSE 1.0 KiB chore: bootstrap ermite-git module with license, readme and CI
- README.md 3.3 KiB ci: run the tests on the arch runner with git 2.45 or newer
- alloc_test.go 6.0 KiB perf(inflate): reuse the adler32 state in a small zlib reader (GO-003)
- bench_cold_test.go 5.9 KiB test(bench): add cold and parallel variants for ReadObject, ObjectHeader and Walk
- bench_test.go 12.5 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- blob.go 5.7 KiB fix(blob): verify the zlib trailer when the last byte is read (GO-001)
- bloom.go 7.7 KiB fix(git): harden the commit-graph and Bloom readers
- bloom_test.go 21.2 KiB fix(git): harden the commit-graph and Bloom readers
- cache.go 2.5 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- commit.go 6.2 KiB fix(commit): trim all trailing whitespace from signature names
- commit_hostile_test.go 2.5 KiB fix(commit): read tree and parents the way git does (GO-005)
- config.go 3.1 KiB fix(config): accept extensions.preciousObjects and relativeWorktrees (GO-009)
- conformance_test.go 26.9 KiB fix(commit): trim all trailing whitespace from signature names
- delta.go 2.9 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- doc.go 284 B chore: bootstrap ermite-git module with license, readme and CI
- errors.go 1.6 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- exec_test.go 384 B test(git): conformance, corruption, fuzz, stress and benchmarks
- fuzz_test.go 6.0 KiB fix(commit): read tree and parents the way git does (GO-005)
- go.mod 39 B chore: bootstrap ermite-git module with license, readme and CI
- graph.go 24.1 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- graph_racy_test.go 4.3 KiB fix(walk): measure the commit-graph racy window from the file mtime (GO-001)
- graph_test.go 48.2 KiB fix(git): harden the commit-graph and Bloom readers
- headercache.go 3.8 KiB fix(pack): keep out-of-range offsets out of the header cache (GO-002)
- headercache_test.go 5.0 KiB fix(pack): keep out-of-range offsets out of the header cache (GO-002)
- helpers_test.go 5.1 KiB test(git): conformance, corruption, fuzz, stress and benchmarks
- id.go 1.8 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- idx.go 4.1 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- inflate.go 5.1 KiB perf(inflate): reuse the adler32 state in a small zlib reader (GO-003)
- inflate_test.go 11.7 KiB fix(blob): verify the zlib trailer when the last byte is read (GO-001)
- lastcommit.go 10.5 KiB perf(git): allocation-free lookup caches; add benchmarks, race test and README
- lastcommit_test.go 3.1 KiB feat(git): LastCommits batch walk with per-path merge groups
- loose.go 6.5 KiB perf(inflate): reuse the adler32 state in a small zlib reader (GO-003)
- mmap_linux.go 290 B feat(git): read refs, loose and packed objects, trees, blobs and commits
- mmap_notlinux.go 139 B build(mmap): map packs on openbsd, netbsd and dragonfly; document limits (GO-007, GO-008)
- mmap_other.go 598 B build(mmap): map packs on openbsd, netbsd and dragonfly; document limits (GO-007, GO-008)
- mmap_unix.go 915 B build(mmap): map packs on openbsd, netbsd and dragonfly; document limits (GO-007, GO-008)
- object.go 8.0 KiB fix(object): return the pack reload error instead of not found (GO-003, GO-010)
- open_test.go 8.5 KiB fix(config): accept extensions.preciousObjects and relativeWorktrees (GO-009)
- pack.go 12.0 KiB fix(pack): keep out-of-range offsets out of the header cache (GO-002)
- parse_test.go 18.2 KiB fix(commit): read tree and parents the way git does (GO-005)
- race_off_test.go 90 B test(git): conformance, corruption, fuzz, stress and benchmarks
- race_on_test.go 216 B test(git): conformance, corruption, fuzz, stress and benchmarks
- realrepo_test.go 3.3 KiB test(git): conformance, corruption, fuzz, stress and benchmarks
- refresh_test.go 6.0 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- refs.go 19.0 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- refs_bench_test.go 823 B perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- refs_cache_test.go 6.5 KiB fix(refs): parse packed-refs once per listing and apply git's racy rule (GO-001, GO-002, GO-004, GO-012, GO-014)
- refs_fix_test.go 4.8 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- reload_test.go 2.6 KiB fix(object): return the pack reload error instead of not found (GO-003, GO-010)
- repo.go 8.5 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- repo_fix_test.go 1.3 KiB fix(repo): clamp WithMaxObjectSize to MaxInt; return refs/replace errors (GO-011, GO-013)
- snapshot.go 7.9 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- stat.go 1.9 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_linux.go 1.4 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_linux_amd64.go 171 B perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_linux_arm64.go 168 B perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_mtim.go 259 B perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- stat_mtimespec.go 267 B perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- stat_other.go 1.2 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_portable.go 1.1 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stat_unix.go 1.4 KiB perf(refs): add LookupRefID, a ref lookup that allocates nothing on a miss (GO-005)
- stress_test.go 5.7 KiB test(git): conformance, corruption, fuzz, stress and benchmarks
- tree.go 2.9 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- treediff.go 7.1 KiB perf(git): allocation-free lookup caches; add benchmarks, race test and README
- treediff_test.go 2.8 KiB feat(git): Walk with git log order, path simplification and graph refresh
- types.go 2.1 KiB feat(git): read refs, loose and packed objects, trees, blobs and commits
- walk.go 13.2 KiB perf(repo): compute Refresh paths once and stat without allocating (GO-006)
- walk_test.go 19.5 KiB feat(git): Walk with git log order, path simplification and graph refresh
- walkbench_test.go 3.7 KiB perf(git): allocation-free lookup caches; add benchmarks, race test and README
- walkrace_test.go 4.0 KiB perf(git): allocation-free lookup caches; add benchmarks, race test and README
- walkreal_test.go 4.9 KiB perf(git): allocation-free lookup caches; add benchmarks, race test and README