98 Commits (f616db6a5cde15021dc507bf03da67f956302329)

Author SHA1 Message Date
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 8 years ago
Jeff King c82c75b951 write_index_as_tree: cleanup tempfile on error 8 years ago
René Scharfe f331ab9d4c use MOVE_ARRAY 8 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 9 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 9 years ago
Nguyễn Thái Ngọc Duy c041d54a74 cache-tree.c: fix i-t-a entry skipping directory updates sometimes 9 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() 10 years ago
Paul Tan d23a5117f8 cache-tree: introduce write_index_as_tree() 10 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 11 years ago
Junio C Hamano 4ed115e9c5 cache-tree: do not try to use an invalidated subtree info to build a tree 11 years ago
David Turner aecf567cbf cache-tree: create/update cache-tree on checkout 11 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
Nguyễn Thái Ngọc Duy a5400efe29 cache-tree: mark istate->cache_changed on cache tree invalidation 11 years ago
Nguyễn Thái Ngọc Duy 03b8664772 read-cache: new API write_locked_index instead of write_index/write_cache 11 years ago
Rohit Mani 2c5495f7b6 use strchrnul() in place of strchr() and strlen() 11 years ago
Michael Haggerty 3491047e14 cache_tree_find(): use path variable when passing over slashes 11 years ago
Michael Haggerty 8b7e5f7972 cache_tree_find(): remove early return 11 years ago
Michael Haggerty 03b0403b4a cache_tree_find(): remove redundant check 11 years ago
Michael Haggerty 79192b87ad cache_tree_find(): fix comment formatting 11 years ago
Michael Haggerty 17e22ddc1c cache_tree_find(): find the end of path component using strchrnul() 11 years ago
Michael Haggerty 72c378d8a6 cache_tree_find(): remove redundant checks 11 years ago
Dmitry S. Dolzhenko bcc7a03285 cache-tree.c: use ALLOC_GROW() in find_subtree() 11 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Nguyễn Thái Ngọc Duy eec3e7e406 cache-tree: invalidate i-t-a paths after generating trees 12 years ago
Nguyễn Thái Ngọc Duy 3cf773e426 cache-tree: fix writing cache-tree when CE_REMOVE is present 12 years ago
Nguyễn Thái Ngọc Duy 386cc8b031 cache-tree: replace "for" loops in update_one with "while" loops 12 years ago
Nguyễn Thái Ngọc Duy dbc3904ebc cache-tree: remove dead i-t-a code in verify_cache() 12 years ago
Nguyễn Thái Ngọc Duy e859c69b26 cache-tree: update API to take abitrary flags 13 years ago
Junio C Hamano 3f6d56de5f commit: ignore intent-to-add entries instead of refusing 13 years ago
Thomas Rast 996277c520 Refactor cache_tree_update idiom from commit 13 years ago
Elijah Newren e92fa514a9 cache_tree_free: Fix small memory leak 15 years ago