128 Commits (0181b600a6deb66a346dbcbe8300cf9e2467ebbb)

Author SHA1 Message Date
Matheus Tavares 2dcde20e1c sha1-file: pass git_hash_algo to hash_object_file() 5 years ago
Matheus Tavares a651946730 cache-tree: use given repo's hash_algo at verify_one() 5 years ago
Jonathan Tan f981ec18cf cache-tree: do not lazy-fetch tentative tree 5 years ago
Elijah Newren 724dd767b2 cache-tree: share code between functions writing an index as a tree 5 years ago
Jeff King 9055384710 tree-walk: drop oid from traverse_info 5 years ago
Christian Couder b14ed5adaf Use promisor_remote_get_direct() and has_promisor_remote() 5 years ago
Jeff Hostetler e9b9cc56bb cache-tree/blame: avoid reusing the DEBUG constant 5 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 6 years ago
Jeff King 98374a07c9 convert has_sha1_file() callers to has_object_file() 6 years ago
Nguyễn Thái Ngọc Duy ec36c42a63 Indent code with TABs 6 years ago
Nguyễn Thái Ngọc Duy c207e9e1f6 cache-tree.c: remove the_repository references 6 years ago
Jonathan Tan 2f215ff10b cache-tree: skip some blob checks in partial clone 6 years ago
Jeff King e43d2dcce1 more oideq/hasheq conversions 6 years ago
Jeff King 4a7e27e957 convert "oidcmp() == 0" to oideq() 6 years ago
Nguyễn Thái Ngọc Duy 4592e6080f cache-tree: verify valid cache-tree in the test suite 6 years ago
Nguyễn Thái Ngọc Duy 0d1ed5963d unpack-trees: add performance tracing 6 years ago
Nguyễn Thái Ngọc Duy 07096c9696 cache-tree: wrap the_index based wrappers with #ifdef 6 years ago
Stefan Beller f86bcc7b2c tree: add repository argument to lookup_tree 6 years ago
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 7 years ago
brian m. carlson a055493436 cache-tree: use is_empty_tree_oid 7 years ago
brian m. carlson 69d124255e cache: add a function to read an object ID from a buffer 7 years ago
brian m. carlson 6dcb462530 cache-tree: convert remnants to struct object_id 7 years ago
brian m. carlson fc5cb99f67 cache-tree: convert write_*_as_tree to object_id 7 years ago
Patryk Obara a09c985eae sha1_file: convert write_sha1_file to object_id 7 years ago
Patryk Obara f070faccc1 sha1_file: convert hash_sha1_file to object_id 7 years ago
SZEDER Gábor f919ffebed Use MOVE_ARRAY 7 years ago
Thomas Gummerer a125a22334 read-cache: fix reading the shared index for other repos 7 years ago
Derrick Stolee 19716b21a4 cleanup: fix possible overflow errors in binary search 7 years ago
Martin Ågren 2954e5ec43 cache-tree: simplify locking logic 7 years ago
Jeff King bfffb48c5d stop leaking lock structs in some simple cases 7 years ago
Jeff King c82c75b951 write_index_as_tree: cleanup tempfile on error 7 years ago
René Scharfe f331ab9d4c use MOVE_ARRAY 7 years ago
brian m. carlson 740ee055c6 Convert lookup_tree to struct object_id 8 years ago
brian m. carlson e0a9280404 Convert struct cache_tree to use struct object_id 8 years ago
Jeff King a96d3cc3f6 cache-tree: reject entries with null sha1 8 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 8 years ago
Nguyễn Thái Ngọc Duy 6d6a782fbf cache-tree: do not generate empty trees as a result of all i-t-a subentries 8 years ago
Nguyễn Thái Ngọc Duy c041d54a74 cache-tree.c: fix i-t-a entry skipping directory updates sometimes 8 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
Nguyễn Thái Ngọc Duy 895ff3b2c7 add and use a convenience macro ce_intent_to_add() 9 years ago
Paul Tan d23a5117f8 cache-tree: introduce write_index_as_tree() 9 years ago
Jeff King 729dbbd9fc cache-tree: avoid infinite loop on zero-entry tree 10 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 10 years ago
Junio C Hamano 4ed115e9c5 cache-tree: do not try to use an invalidated subtree info to build a tree 10 years ago
David Turner aecf567cbf cache-tree: create/update cache-tree on checkout 10 years ago
Nguyễn Thái Ngọc Duy e6c286e8b2 cache-tree: mark istate->cache_changed on prime_cache_tree() 11 years ago
Nguyễn Thái Ngọc Duy d0cfc3e866 cache-tree: mark istate->cache_changed on cache tree update 11 years ago