aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/unpack-objects.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-05Merge branch 'ps/object-file-wo-the-repository'Junio C Hamano1-7/+8
2025-07-23config: drop `git_config()` wrapperPatrick Steinhardt1-1/+1
2025-07-16object-file: get rid of `the_repository` when writing objectsPatrick Steinhardt1-1/+2
2025-07-16odb: introduce `odb_write_object()`Patrick Steinhardt1-6/+6
2025-07-01odb: rename `has_object()`Patrick Steinhardt1-2/+2
2025-07-01odb: rename `repo_read_object_file()`Patrick Steinhardt1-2/+2
2025-07-01odb: rename `oid_object_info()`Patrick Steinhardt1-1/+1
2025-07-01object-store: rename files to "odb.{c,h}"Patrick Steinhardt1-1/+1
2025-04-29treewide: convert users of `repo_has_object_file()` to `has_object()`Patrick Steinhardt1-1/+2
2025-04-15object-store: merge "object-store-ll.h" and "object-store.h"Patrick Steinhardt1-1/+1
2025-04-15object-file: split out functions relating to object store subsystemPatrick Steinhardt1-0/+1
2025-04-08Merge branch 'ps/object-wo-the-repository' into ps/object-file-cleanupJunio C Hamano1-2/+3
2025-03-18index-pack, unpack-objects: restore missing ->init_fnJensen Huang1-0/+1
2025-03-10hash: stop depending on `the_repository` in `null_oid()`Patrick Steinhardt1-1/+1
2025-03-10environment: move access to "core.bigFileThreshold" into repo settingsPatrick Steinhardt1-1/+2
2025-01-31global: adapt callers to use generic hash context helpersPatrick Steinhardt1-5/+4
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt1-2/+2
2025-01-28Merge branch 'jk/pack-header-parse-alignment-fix'Junio C Hamano1-19/+12
2025-01-28Merge branch 'jc/show-usage-help'Junio C Hamano1-0/+2
2025-01-21index-pack, unpack-objects: use skip_prefix to avoid magic numberJeff King1-3/+3
2025-01-21index-pack, unpack-objects: use get_be32() for reading pack headerJeff King1-6/+7
2025-01-21packfile: factor out --pack_header argument parsingJeff King1-12/+4
2025-01-17builtin: send usage() help text to standard outputJunio C Hamano1-0/+2
2024-12-18progress: stop using `the_repository`Patrick Steinhardt1-1/+2
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+2
2024-09-13builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.hJohn Cai1-0/+1
2024-09-13builtin: add a repository parameter for builtin functionsJohn Cai1-1/+4
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt1-3/+3
2024-06-14hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`Patrick Steinhardt1-1/+2
2024-03-02unpack: replace xwrite() loop with write_in_full()Junio C Hamano1-7/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-4/+0
2023-09-13Merge branch 'ew/hash-with-openssl-evp'Junio C Hamano1-1/+4
2023-08-31treewide: fix various bugs w/ OpenSSL 3+ EVP APIEric Wong1-1/+4
2023-07-25Merge branch 'jk/unused-parameter'Junio C Hamano1-1/+2
2023-07-13fsck: mark unused parameters in various fsck callbacksJeff King1-1/+2
2023-07-05git-compat-util: move strbuf.c funcs to its headerCalvin Wan1-0/+1
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-2/+1
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+0
2023-06-12repository: create disable_replace_refs()Derrick Stolee1-1/+1
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+1
2023-04-11git-zlib: move declarations for git-zlib functions from cache.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+2
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-2/+3
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-2/+3
2023-03-28builtins: mark unused prefix parametersJeff King1-1/+1
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-2/+3
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-06-13unpack-objects: use stream_loose_object() to unpack large objectsHan Xin1-1/+68
2022-06-13unpack-objects: low memory footprint for get_data() in dry_run modeHan Xin1-11/+26
2022-06-03Merge branch 'ns/batch-fsync'Junio C Hamano1-0/+3
2022-04-06unpack-objects: use the bulk-checkin infrastructureNeeraj Singh1-0/+3
2022-02-25object-file API: have hash_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-25object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-3/+3
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+2
2021-04-27Use the final_oid_fn to finalize hashing of object IDsbrian m. carlson1-1/+1
2021-04-27Always use oidread to read into struct object_idbrian m. carlson1-1/+1
2021-04-07Merge branch 'ab/fsck-api-cleanup'Junio C Hamano1-1/+2
2021-03-28fsck.h: use "enum object_type" instead of "int"Ævar Arnfjörð Bjarmason1-1/+2
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares1-1/+2
2019-11-20builtin/unpack-objects.c: show throughput progressSZEDER Gábor1-1/+2
2019-06-20object: convert lookup_object() to use object_idJeff King1-1/+1
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-1/+1
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-1/+1
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-0/+1
2018-06-29blob: add repository argument to lookup_blobStefan Beller1-1/+1
2018-06-29object: add repository argument to parse_object_bufferStefan Beller1-1/+2
2018-06-29object: add repository argument to lookup_objectStefan Beller1-1/+1
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-0/+1
2018-05-29Sync with Git 2.17.1Junio C Hamano1-2/+5
2018-05-21unpack-objects: call fsck_finish() after fscking objectsJeff King1-1/+4
2018-05-21index-pack: make fsck error message more specificJeff King1-1/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+1
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2018-03-14Merge branch 'nd/object-allocation-comments'Junio C Hamano1-0/+1
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+1
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-1/+1
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-5/+5
2018-03-06object.h: update flag allocation commentNguyễn Thái Ngọc Duy1-0/+1
2018-02-15Merge branch 'bc/hash-algo'Junio C Hamano1-9/+9
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-5/+5
2018-02-02builtin/unpack-objects: switch uses of SHA-1 to the_hash_algobrian m. carlson1-9/+9
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-3/+6
2018-01-30sha1_file: convert hash_sha1_file to object_idPatryk Obara1-1/+1
2017-10-10cleanup: fix possible overflow errors in binary searchDerrick Stolee1-1/+1
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-2/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-08object: convert parse_object* to take struct object_idbrian m. carlson1-1/+2
2017-05-08Convert lookup_blob to struct object_idbrian m. carlson1-1/+1
2017-05-08builtin/unpack-objects: convert to struct object_idbrian m. carlson1-32/+32
2016-08-24unpack-objects: add --max-input-size=<size> optionChristian Couder1-0/+7
2016-06-28coccinelle: convert hashcpy() with null_sha1 to hashclr()brian m. carlson1-2/+2
2015-11-20Remove get_object_hash.brian m. carlson1-1/+1
2015-11-20Convert struct object to object_idbrian m. carlson1-4/+4
2015-11-20Add several uses of get_object_hash.brian m. carlson1-1/+1
2015-10-16usage: do not insist that standard input must come from a fileJunio C Hamano1-1/+1
2015-06-23fsck (receive-pack): allow demoting errors to warningsJohannes Schindelin1-0/+5
2015-06-22fsck: introduce fsck optionsJohannes Schindelin1-5/+6
2014-12-09index-pack: terminate object buffers with NULDuy Nguyen1-1/+1
2014-09-10fsck_object(): allow passing object data separately from the object itselfJohannes Schindelin1-4/+10
2014-03-14Merge branch 'mh/replace-refs-variable-rename'Junio C Hamano1-1/+1
2014-02-24i18n: mark all progress lines for translationNguyễn Thái Ngọc Duy1-1/+1
2014-02-20rename read_replace_refs to check_replace_refsMichael Haggerty1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-1/+1
2012-04-30remove superfluous newlines in error messagesPete Wyckoff1-1/+1
2011-06-10zlib: zlib can only process 4GB at a timeJunio C Hamano1-1/+1
2010-10-06do not depend on signed integer overflowErik Faye-Lund1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+568