summaryrefslogtreecommitdiff
path: root/object-file.c
AgeCommit message (Expand)AuthorLines
2025-03-05Merge branch 'ps/path-sans-the-repository'Junio C Hamano-7/+7
2025-02-28path: adjust last remaining users of `the_repository`Patrick Steinhardt-4/+4
2025-02-07path: drop `git_path_buf()` in favor of `repo_git_path_replace()`Patrick Steinhardt-2/+2
2025-02-07path: drop `git_pathdup()` in favor of `repo_git_path()`Patrick Steinhardt-1/+1
2025-02-03Merge branch 'tb/unsafe-hash-cleanup'Junio C Hamano-15/+26
2025-01-31global: adapt callers to use generic hash context helpersPatrick Steinhardt-17/+15
2025-01-31hash: provide generic wrappers to update hash contextsPatrick Steinhardt-0/+6
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt-31/+31
2025-01-31hash: convert hashing context to a structurePatrick Steinhardt-15/+15
2025-01-31Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanupJunio C Hamano-15/+26
2025-01-23hash.h: drop unsafe_ function variantsTaylor Blau-15/+0
2025-01-23hash.h: introduce `unsafe_hash_algo()`Taylor Blau-0/+26
2025-01-16Merge branch 'ps/object-collision-check'Junio C Hamano-24/+42
2025-01-06object-file: retry linking file into place when occluding file vanishesPatrick Steinhardt-4/+21
2025-01-06object-file: don't special-case missing source file in collision checkPatrick Steinhardt-2/+1
2025-01-06object-file: rename variables in `check_collision()`Patrick Steinhardt-20/+20
2024-12-30object-file: fix race in object collision checkPatrick Steinhardt-2/+4
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt-0/+1
2024-11-18object-file: inline empty tree and blob literalsJeff King-27/+20
2024-11-18object-file: treat cached_object values as constJeff King-4/+4
2024-11-18object-file: drop oid field from find_cached_object() return valueJeff King-11/+12
2024-11-18object-file: move empty_tree struct into find_cached_object()Jeff King-6/+5
2024-11-18object-file: drop confusing oid initializer of empty_tree structJeff King-3/+1
2024-11-18object-file: prefer array-of-bytes initializer for hash literalsJeff King-16/+20
2024-10-02Merge branch 'tb/weak-sha1-for-tail-sum'Junio C Hamano-6/+118
2024-09-27hash.h: scaffolding for _unsafe hashing variantsTaylor Blau-0/+42
2024-09-27finalize_object_file(): implement collision checkTaylor Blau-3/+64
2024-09-27finalize_object_file(): refactor unlink_or_warn() placementTaylor Blau-1/+6
2024-09-27finalize_object_file(): check for name collision before renamingTaylor Blau-2/+6
2024-09-25Merge branch 'ak/typofix-2.46-maint'Junio C Hamano-1/+1
2024-09-19object-file: fix a typoAndrew Kreimer-1/+1
2024-09-12environment: move object database functions into object layerPatrick Steinhardt-0/+33
2024-09-12environment: make `get_object_directory()` accept a repositoryPatrick Steinhardt-2/+2
2024-08-23Merge branch 'ps/leakfixes-part-4'Junio C Hamano-0/+1
2024-08-14object-file: fix memory leak when reading corrupted headersPatrick Steinhardt-0/+1
2024-08-08fsck: make "fsck_error" callback genericshejialuo-5/+4
2024-07-02Merge branch 'ew/object-convert-leakfix'Junio C Hamano-1/+1
2024-07-02Merge branch 'ps/use-the-repository'Junio C Hamano-10/+9
2024-06-24object-file: fix leak on conversion failureEric Wong-1/+1
2024-06-17Merge branch 'ps/no-writable-strings'Junio C Hamano-10/+12
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt-0/+3
2024-06-14hash: require hash algorithm in `empty_tree_oid_hex()`Patrick Steinhardt-8/+2
2024-06-14global: ensure that object IDs are always paddedPatrick Steinhardt-0/+2
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt-2/+2
2024-06-07object-file: make `buf` parameter of `index_mem()` a constantPatrick Steinhardt-7/+7
2024-06-07object-file: mark cached object buffers as constPatrick Steinhardt-3/+5
2024-05-17refs: refactor `resolve_gitlink_ref()` to accept a repositoryPatrick Steinhardt-1/+1
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano-20/+192
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren-8/+0
2023-10-02object-file: handle compat objects in check_object_signatureEric W. Biederman-1/+3