176 Commits (3d11275505694ce4e5256516de1c5dd90e749303)

Author SHA1 Message Date
Jeff King 2fecc48cad packfile: drop nth_packed_object_sha1() 5 years ago
Jeff King 6ac9760a30 packed_object_info(): use object_id internally for delta base 5 years ago
Jeff King b99b6bcc57 packed_object_info(): use object_id for returning delta base 5 years ago
Jeff King 0763671b8e nth_packed_object_oid(): use customary integer return 5 years ago
Matheus Tavares 6c307626f1 grep: protect packed_git [re-]initialization 5 years ago
Matheus Tavares 31877c9aec object-store: allow threaded access to object reading 5 years ago
Eric Wong 4e61b2214d packfile: replace lseek+read with pread 5 years ago
Eric Wong 280738c36e packfile: remove redundant fcntl F_GETFD/F_SETFD 5 years ago
Colin Stolley ec48540fe8 packfile.c: speed up loading lots of packfiles 5 years ago
Eric Wong 939af16eac hashmap_cmp_fn takes hashmap_entry params 6 years ago
Eric Wong f23a465132 hashmap_get{,_from_hash} return "struct hashmap_entry *" 6 years ago
Eric Wong 28ee794128 hashmap_remove takes "const struct hashmap_entry *" 6 years ago
Eric Wong b94e5c1df6 hashmap_add takes "struct hashmap_entry *" 6 years ago
Eric Wong d22245a2e3 hashmap_entry_init takes "struct hashmap_entry *" 6 years ago
Eric Wong d0a48a0a1d packfile: use hashmap_entry in delta_base_cache_entry 6 years ago
René Scharfe 2fe44394c8 treewide: remove duplicate #include directives 6 years ago
Jeff King 56d9cbe68b packfile: expose get_delta_base() 6 years ago
René Scharfe c77722b3ea use get_tagged_oid() 6 years ago
brian m. carlson 3a4d7aa5ae packfile: replace sha1_to_hex 6 years ago
Jeff King 9827d4c185 packfile: drop release_pack_memory() 6 years ago
Christian Couder b14ed5adaf Use promisor_remote_get_direct() and has_promisor_remote() 6 years ago
René Scharfe 921d49be86 use COPY_ARRAY for copying arrays 6 years ago
Derrick Stolee 2d511cfc0b packfile: rename close_all_packs to close_object_store 6 years ago
Derrick Stolee 5472c32c37 packfile: close commit-graph in close_all_packs 6 years ago
Derrick Stolee 8434e85d5f repack: refactor pack deletion for future use 6 years ago
Mike Hommey 3203566a71 Use xmmap_gently instead of xmmap in use_pack 6 years ago
Derrick Stolee af96fe3392 midx: add packs to packed_git linked list 6 years ago
Derrick Stolee 64404a24cf midx: pass a repository pointer 6 years ago
Jeff King fc78915674 packfile: fix pack basename computation 6 years ago
Jeff King 4828ce9871 pack-revindex: open index if necessary 6 years ago
Nguyễn Thái Ngọc Duy 5038de1937 packfile.c: add repo_approximate_object_count() 6 years ago
brian m. carlson 538b152324 object-store: rename and expand packed_git's sha1 member 6 years ago
Jeff Hostetler 5ae18df9d8 midx: during verify group objects by packfile to speed verification 6 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 6 years ago
René Scharfe d4e19e5163 object-store: factor out odb_clear_loose_cache() 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 263db403fa rename "alternate_object_database" to "object_directory" 6 years ago
Derrick Stolee dc7d664335 packfile: close multi-pack-index in close_all_packs 6 years ago
Stefan Beller 33b94066f2 packfile: allow has_packed_and_bad to handle arbitrary repositories 6 years ago
Josh Steadmon 1127a98cce fuzz: add fuzz testing for packfile indices. 6 years ago
brian m. carlson 268babd6fb packfile: express constants in terms of the_hash_algo 6 years ago
Jeff King 67947c34ae convert "hashcmp() != 0" to "!hasheq()" 7 years ago
Jeff King e3ff0683e2 convert "hashcmp() == 0" to hasheq() 7 years ago
Derrick Stolee 454ea2e4d7 treewide: use get_all_packs 7 years ago
Derrick Stolee 0bff5269d3 packfile: add all_packs list 7 years ago
Derrick Stolee fe86c3beb5 midx: stop reporting garbage 7 years ago
Derrick Stolee 2cf489a3bf multi-pack-index: store local property 7 years ago
Jeff King 736eb88fdc for_each_packed_object: support iterating in pack-order 7 years ago
Jeff King a7ff6f5a0f for_each_*_object: take flag arguments as enum 7 years ago