81 Commits (892e723afd2b5696e4d75280e730bf9f1ea92329)

Author SHA1 Message Date
René Scharfe 9ed0d8d6e6 use QSORT 8 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 9 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
Jeff King 9cc2b07a7c add quieter versions of parse_{tree,commit} 10 years ago
Nguyễn Thái Ngọc Duy 6a0b0b6de9 tree.c: update read_tree_recursive callback to pass strbuf as base 10 years ago
Jeff King c4ad00f8cc add object_as_type helper for casting objects 11 years ago
Jeff King fe24d396e1 move setting of object->type to alloc_* functions 11 years ago
Jeff King 8ff226a9d5 add object_as_type helper for casting objects 11 years ago
Jeff King d36f51c13b move setting of object->type to alloc_* functions 11 years ago
Nguyễn Thái Ngọc Duy 18e4f40599 checkout: convert read_tree_some to take struct pathspec 12 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Jeff King 6e454b9a31 clear parsed flag when we free tree buffers 12 years ago
Thomas Gummerer b60e188c51 Strip namelen out of ce_flags into a ce_namelen field 13 years ago
Nguyễn Thái Ngọc Duy d688cf07b1 tree_entry_interesting(): give meaningful names to return values 13 years ago
Nguyễn Thái Ngọc Duy 0de1633783 tree-walk.c: do not leak internal structure in tree_entry_len() 13 years ago
Nguyễn Thái Ngọc Duy f0096c06bc Convert read_tree{,_recursive} to support struct pathspec 14 years ago
Nguyễn Thái Ngọc Duy ffd31f661d Reimplement read_tree_recursive() using tree_entry_interesting() 14 years ago
Johannes Schindelin 7183c09d11 Fix off-by-one in read_tree_recursive 16 years ago
Junio C Hamano 8092bfb6c2 match_tree_entry(): a pathspec only matches at directory boundaries 16 years ago
Junio C Hamano ba19a808aa Drop double-semicolon in C 16 years ago
Lars Hjemli d3bee161fe tree.c: allow read_tree_recursive() to traverse gitlink entries 16 years ago
René Scharfe 671f070721 add context pointer to read_tree_recursive() 17 years ago
Martin Koegler 7914053ba9 Remove unused object-ref code 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
Junio C Hamano af3785dc5a Optimize "diff --cached" performance. 18 years ago
Sam Vilain e2ac7cb5fb Don't assume tree entries that are not dirs are blobs 18 years ago
Martin Waitz 302b9282c9 rename dirlink to gitlink. 18 years ago
Linus Torvalds 100c5f3b0b Clean up object creation to use more common code 18 years ago
Linus Torvalds 8d9721c86b Teach "fsck" not to follow subproject links 18 years ago
Linus Torvalds 6fda5e5180 Initialize tree descriptors with a helper function rather than by hand. 18 years ago
Linus Torvalds a8c40471ab Remove "pathlen" from "struct name_entry" 18 years ago
Linus Torvalds c711a214c1 Trivial cleanup of track_tree_refs() 18 years ago
Nicolas Pitre 21666f1aae convert object type handling from a string to a number 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 19 years ago
David Rientjes 74b504f671 Make track_tree_refs void. 19 years ago
Linus Torvalds 1974632c66 Remove TYPE_* constant macros and use object_type enums consistently. 19 years ago
Linus Torvalds 855419f764 Add specialized object allocator 19 years ago
Linus Torvalds 885a86abe2 Shrink "struct object" a bit 19 years ago
Linus Torvalds 4c068a9831 tree_entry(): new tree-walking helper function 19 years ago
Linus Torvalds 15b5536ee4 Remove last vestiges of generic tree_entry_list 19 years ago
Linus Torvalds 3bc1eca91e Remove unused "zeropad" entry from tree_list_entry 19 years ago
Linus Torvalds 2d9c58c69d Remove "tree->entries" tree-entry list from tree parser 19 years ago
Linus Torvalds 0790a42a50 Switch "read_tree_recursive()" over to tree-walk functionality 19 years ago
Linus Torvalds 3a7c352bd0 Make "tree_entry" have a SHA1 instead of a union of object pointers 19 years ago
Linus Torvalds 136f2e548a Make "struct tree" contain the pointer to the tree buffer 19 years ago
Linus Torvalds 097dc3d8c3 Remove "tree->entries" tree-entry list from tree parser 19 years ago