aboutsummaryrefslogtreecommitdiffstats
path: root/object-file.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-02-25unpack_loose_rest(): rewrite return handling for clarityJeff King1-6/+6
2025-02-25unpack_loose_rest(): simplify error handlingJeff King1-3/+3
2025-02-25unpack_loose_rest(): never clean up zstreamJeff King1-10/+8
2025-02-25unpack_loose_rest(): avoid numeric comparison of zlib statusJeff King1-1/+1
2025-02-25unpack_loose_header(): avoid numeric comparison of zlib statusJeff King1-1/+1
2025-02-25unpack_loose_header(): fix infinite loop on broken zlib inputJeff King1-1/+1
2025-02-25unpack_loose_header(): report headers without NUL as "bad"Jeff King1-1/+1
2025-02-25unpack_loose_header(): simplify next_out assignmentJeff King1-4/+3
2025-02-25loose_object_info(): BUG() on inflating content with unknown typeJeff King1-0/+2
2025-02-07path: drop `git_path_buf()` in favor of `repo_git_path_replace()`Patrick Steinhardt1-2/+2
2025-02-07path: drop `git_pathdup()` in favor of `repo_git_path()`Patrick Steinhardt1-1/+1
2025-02-03Merge branch 'tb/unsafe-hash-cleanup'Junio C Hamano1-15/+26
2025-01-31global: adapt callers to use generic hash context helpersPatrick Steinhardt1-17/+15
2025-01-31hash: provide generic wrappers to update hash contextsPatrick Steinhardt1-0/+6
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt1-31/+31
2025-01-31hash: convert hashing context to a structurePatrick Steinhardt1-15/+15
2025-01-31Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanupJunio C Hamano1-15/+26
2025-01-23hash.h: drop unsafe_ function variantsTaylor Blau1-15/+0
2025-01-23hash.h: introduce `unsafe_hash_algo()`Taylor Blau1-0/+26
2025-01-16Merge branch 'ps/object-collision-check'Junio C Hamano1-24/+42
2025-01-06object-file: retry linking file into place when occluding file vanishesPatrick Steinhardt1-4/+21
2025-01-06object-file: don't special-case missing source file in collision checkPatrick Steinhardt1-2/+1
2025-01-06object-file: rename variables in `check_collision()`Patrick Steinhardt1-20/+20
2024-12-30object-file: fix race in object collision checkPatrick Steinhardt1-2/+4
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-11-18object-file: inline empty tree and blob literalsJeff King1-27/+20
2024-11-18object-file: treat cached_object values as constJeff King1-4/+4
2024-11-18object-file: drop oid field from find_cached_object() return valueJeff King1-11/+12
2024-11-18object-file: move empty_tree struct into find_cached_object()Jeff King1-6/+5
2024-11-18object-file: drop confusing oid initializer of empty_tree structJeff King1-3/+1
2024-11-18object-file: prefer array-of-bytes initializer for hash literalsJeff King1-17/+21
2024-10-02Merge branch 'tb/weak-sha1-for-tail-sum'Junio C Hamano1-6/+118
2024-09-27hash.h: scaffolding for _unsafe hashing variantsTaylor Blau1-0/+42
2024-09-27finalize_object_file(): implement collision checkTaylor Blau1-3/+64
2024-09-27finalize_object_file(): refactor unlink_or_warn() placementTaylor Blau1-1/+6
2024-09-27finalize_object_file(): check for name collision before renamingTaylor Blau1-2/+6
2024-09-25Merge branch 'ak/typofix-2.46-maint'Junio C Hamano1-1/+1
2024-09-19object-file: fix a typoAndrew Kreimer1-1/+1
2024-09-12environment: move object database functions into object layerPatrick Steinhardt1-0/+33
2024-09-12environment: make `get_object_directory()` accept a repositoryPatrick Steinhardt1-2/+2
2024-08-23Merge branch 'ps/leakfixes-part-4'Junio C Hamano1-0/+1
2024-08-14object-file: fix memory leak when reading corrupted headersPatrick Steinhardt1-0/+1
2024-08-08fsck: make "fsck_error" callback genericshejialuo1-5/+4
2024-07-02Merge branch 'ew/object-convert-leakfix'Junio C Hamano1-1/+1
2024-07-02Merge branch 'ps/use-the-repository'Junio C Hamano1-10/+9
2024-06-24object-file: fix leak on conversion failureEric Wong1-1/+1
2024-06-17Merge branch 'ps/no-writable-strings'Junio C Hamano1-10/+12
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+3
2024-06-14hash: require hash algorithm in `empty_tree_oid_hex()`Patrick Steinhardt1-8/+2
2024-06-14global: ensure that object IDs are always paddedPatrick Steinhardt1-0/+2