73 Commits (5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9)

Author SHA1 Message Date
René Scharfe 86ad3ea5cf sha1-file: release strbuf after use 6 years ago
Jeff King 709dfa6990 object-store.h: move for_each_alternate_ref() from transport.h 6 years ago
Nguyễn Thái Ngọc Duy d3b4705ab8 sha1-file.c: remove the_repo from read_object_with_reference() 6 years ago
Derrick Stolee 31f5256c82 sha1-file: split OBJECT_INFO_FOR_PREFETCH 6 years ago
Jonathan Tan 0f4a4fb1c4 sha1-file: support OBJECT_INFO_FOR_PREFETCH 6 years ago
brian m. carlson 95399788d1 hash: add a function to lookup hash algorithm by length 6 years ago
Jeff King 01f8d5948a prefer "hash mismatch" to "sha1 mismatch" 6 years ago
Jeff King 2c319886c0 sha1-file: avoid "sha1 file" for generic use in messages 6 years ago
Jeff King 760113574f sha1-file: prefer "loose object file" to "sha1 file" in messages 6 years ago
Jeff King 5d3679ee02 sha1-file: drop has_sha1_file() 6 years ago
Jeff King 98374a07c9 convert has_sha1_file() callers to has_object_file() 6 years ago
Jeff King d7a245730b sha1-file: convert pass-through functions to object_id 6 years ago
René Scharfe 8be88dbcb1 object-store: retire odb_load_loose_cache() 6 years ago
Jeff King 00a7760e81 sha1-file: modernize loose header/stream functions 6 years ago
René Scharfe 4cea1ce0f6 object-store: use one oid_array per subdirectory for loose cache 6 years ago
Jeff King 514c5fdd03 sha1-file: modernize loose object file functions 6 years ago
René Scharfe d4e19e5163 object-store: factor out odb_clear_loose_cache() 6 years ago
René Scharfe 0000d6543f object-store: factor out odb_loose_cache() 6 years ago
Jeff King cb1c8d1d3c sha1-file: fix outdated sha1 comment references 6 years ago
René Scharfe 6881925ef5 sha1-file: close fd of empty file in map_sha1_file_1() 6 years ago
Jeff King 7317aa7153 odb_load_loose_cache: fix strbuf leak 6 years ago
Stefan Beller 9b45f49981 object-store: prepare has_{sha1, object}_file to handle any repo 6 years ago
Stefan Beller a3b72c89bd object-store: allow read_object_file_extended to read from any repo 6 years ago
brian m. carlson 13eeedb5d1 Add a base implementation of SHA-256 support 6 years ago
brian m. carlson a2ce0a7526 sha1-file: add a constant for hash block size 6 years ago
Jeff King 61c7711cfe sha1-file: use loose object cache for quick existence check 6 years ago
Jeff King 3a2e08245c object-store: provide helpers for loose_objects_cache 6 years ago
Jeff King f0eaf63819 sha1-file: use an object_directory for the main object dir 6 years ago
Jeff King f3f043a103 handle alternates paths the same as the main object dir 6 years ago
Jeff King b69fb867b4 sha1_file_name(): overwrite buffer instead of appending 6 years ago
Jeff King 263db403fa rename "alternate_object_database" to "object_directory" 6 years ago
Torsten Bögershausen ca473cef91 Upcast size_t variables to uintmax_t when printing 6 years ago
brian m. carlson 2f90b9d9b4 sha1-file: provide functions to look up hash algorithms 6 years ago
brian m. carlson 1ccf07cbb7 sha1-file: rename algorithm to "sha1" 6 years ago
Stefan Beller 33b94066f2 packfile: allow has_packed_and_bad to handle arbitrary repositories 6 years ago
Stefan Beller 1b9b5c695e sha1_file: allow read_object to read objects in arbitrary repositories 6 years ago
Nguyễn Thái Ngọc Duy 58bf2a4cc7 sha1-file.c: remove implicit dependency on the_index 7 years ago
Jonathan Tan 8708ca09a6 fetch-object: unify fetch_object[s] functions 7 years ago
Jeff King 67947c34ae convert "hashcmp() != 0" to "!hasheq()" 7 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 7 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 7 years ago
Nguyễn Thái Ngọc Duy 7f944e264e convert.c: remove an implicit dependency on the_index 7 years ago
Jeff King a7ff6f5a0f for_each_*_object: take flag arguments as enum 7 years ago
Nguyễn Thái Ngọc Duy 259328b731 sha1-file.c: mark more strings for translation 7 years ago
Nguyễn Thái Ngọc Duy 1a07e59c3e Update messages in preparation for i18n 7 years ago
brian m. carlson 94b5e093f9 sha1-file: convert constants to uses of the_hash_algo 7 years ago
Stefan Beller 0e740fed5d tag: add repository argument to parse_tag_buffer 7 years ago
Stefan Beller 08f4f44501 commit: add repository argument to parse_commit_buffer 7 years ago
Stefan Beller fc1395f4a4 sha1_file.c: rename to use dash in file name 7 years ago
Stefan Beller 613b42f283 packfile: add repository argument to find_pack_entry 7 years ago