summaryrefslogtreecommitdiffstats
path: root/object-file.c
AgeCommit message (Expand)AuthorLines
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-17/+21
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
2023-10-02object-file: update object_info_extended to reencode objectsEric W. Biederman-0/+91
2023-10-02object-file: add a compat_oid_in parameter to write_object_file_flagsEric W. Biederman-2/+4
2023-10-02object-file: update the loose object map when writing loose objectsEric W. Biederman-18/+95
2023-09-26bulk-checkin: only support blobs in index_bulk_checkinEric W. Biederman-6/+6
2023-07-25Merge branch 'jk/unused-parameter'Junio C Hamano-5/+5
2023-07-13fsck: mark unused parameters in various fsck callbacksJeff King-5/+5
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan-1/+0
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan-1/+0
2023-06-21repository: remove unnecessary include of path.hElijah Newren-0/+1
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano-1/+2
2023-04-25Merge branch 'ps/fix-geom-repack-with-alternates'Junio C Hamano-0/+6
2023-04-24object-store.h: reduce unnecessary includesElijah Newren-0/+1
2023-04-24treewide: remove cache.h inclusion due to previous changesElijah Newren-1/+1
2023-04-14repack: disable writing bitmaps when doing a local repackPatrick Steinhardt-0/+6
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren-0/+1
2023-04-11treewide: be explicit about dependence on convert.hElijah Newren-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano-2/+2