aboutsummaryrefslogtreecommitdiff
path: root/format/pack
Commit message (Expand)AuthorAgeFilesLines
* receivepack, format/pack/ingest: Two-stage ingestionGravatar Runxi Yu2026-03-086-37/+296
* *: Reformat v0.1.75Gravatar Runxi Yu2026-03-084-1/+11
* format/pack/ingest: Thin pack fixing progress v0.1.74Gravatar Runxi Yu2026-03-081-2/+8
* receivepack/service, format/pack/ingest: Progress uniformGravatar Runxi Yu2026-03-082-4/+6
* format/pack/ingest: Add more progressGravatar Runxi Yu2026-03-086-4/+83
* format/pack/ingest: Looks like that's not actually the consumed we wantGravatar Runxi Yu2026-03-082-12/+16
* format/pack/ingest: Use Options; don't require EOFGravatar Runxi Yu2026-03-079-29/+100
* *: Use errors.AsTypeGravatar Runxi Yu2026-03-071-4/+2
* Urgh I made some wrong amends and I'm too tired to separate the commits out t...•••ancestor: Split out of reachability mergebase: Add merge base routines internal/commitquery: Add commit query context engine thingy internal/peel: Shared tag peeling errors: Shared object query errors internal/testgit: Add rooted repo helpers; remove raw path access objectstore/memory: Add in-memory object store objectid: Add Compare helper Gravatar Runxi Yu2026-03-071-108/+30
* *: Lint v0.1.68Gravatar Runxi Yu2026-03-0614-66/+66
* *: go fix ./...Gravatar Runxi Yu2026-03-061-4/+1
* format/pack/ingest: I don't think we need to use a clone there v0.1.61Gravatar Runxi Yu2026-03-061-4/+4
* format/pack/ingest: Fix delta apply import v0.1.59Gravatar Runxi Yu2026-03-061-0/+1
* format/pack/ingest: Split filesGravatar Runxi Yu2026-03-0630-1067/+1196
* format/pack/ingest: Actually we could just use algo.String() hereGravatar Runxi Yu2026-03-061-12/+1
* format/pack/ingest: Fix minLen/min lint v0.1.49Gravatar Runxi Yu2026-03-051-6/+6
* *: I guess os.Root is alright for tests too *shrug*Gravatar Runxi Yu2026-03-051-6/+44
* *: Fix various lintsGravatar Runxi Yu2026-03-052-57/+57
* *: Fix wsl_v5 againGravatar Runxi Yu2026-03-053-0/+5
* format/pack/ingest: Fix exhaustiveGravatar Runxi Yu2026-03-053-1/+18
* *: Fix overflowsGravatar Runxi Yu2026-03-056-18/+106
* objectid, format/pack/ingest: Pack hash ID in algoGravatar Runxi Yu2026-03-051-15/+1
* *: Fix lintsGravatar Runxi Yu2026-03-059-55/+121
* *: Fix lint wsl_v5Gravatar Runxi Yu2026-03-0510-0/+149
* format/pack/ingest: Use fixed fixturesGravatar Runxi Yu2026-03-059-88/+84
* format/pack/ingest: Improve trailer stuffGravatar Runxi Yu2026-03-055-163/+215
* format/pack/ingest: Temporary file purgingGravatar Runxi Yu2026-03-051-7/+18
* format/pack/ingest: That was silly, obviously just use the ObjectIDGravatar Runxi Yu2026-03-054-12/+13
* format/pack/ingest: Optimize writesGravatar Runxi Yu2026-03-052-4/+21
* format/pack/ingest: InitGravatar Runxi Yu2026-03-0517-0/+2053
* *: LintGravatar Runxi Yu2026-03-042-0/+13
* objectstore/packed: Check pack/idx checksums here.•••We previously had helpers in format/pack/checksum that checks .pack/.idx-related checksums with []byte-based APIs. But it only really makes sense to use those []byte-based APIs on mmap's (otherwise it'd be horribly inefficient). Since the packed object-store only needs to check that the .pack and .idx trailer match, we move the relevant part into objectstore/packed. The rest are deleted for now; we'll definitely need a streaming version for the pack verification (when ingesting packfiles from the network) (though we might just make it a streaming API (writer? reader? not decided yet) that *produces* a hash, then verify it in the caller; this way we could reuse the function in the pack-producing routines). The others might get the []byte-based APIs back, or perhaps they too get streaming APIs. Remember that "reading objects from a packed object store", "creating/writing packfiles", and "ingesting an incoming pack (which usually involves creating an .idx for it)", are all very different tasks. Gravatar Runxi Yu2026-03-031-108/+0
* format/pack/checksum: Move things about pack trailers hereGravatar Runxi Yu2026-02-211-0/+108
* objectstore/packed: Use constants/functions from format/packGravatar Runxi Yu2026-02-211-0/+64
* format/pack: Extract general constants and such from objectstore/packedGravatar Runxi Yu2026-02-212-0/+96