Commit Graph

122 Commits (master)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy d688cf07b1 tree_entry_interesting(): give meaningful names to return values 11 years ago
Nguyễn Thái Ngọc Duy 0de1633783 tree-walk.c: do not leak internal structure in tree_entry_len() 11 years ago
Nguyễn Thái Ngọc Duy f0096c06bc Convert read_tree{,_recursive} to support struct pathspec 12 years ago
Nguyễn Thái Ngọc Duy ffd31f661d Reimplement read_tree_recursive() using tree_entry_interesting() 12 years ago
Johannes Schindelin 7183c09d11 Fix off-by-one in read_tree_recursive 14 years ago
Junio C Hamano 8092bfb6c2 match_tree_entry(): a pathspec only matches at directory boundaries 14 years ago
Junio C Hamano ba19a808aa Drop double-semicolon in C 14 years ago
Lars Hjemli d3bee161fe tree.c: allow read_tree_recursive() to traverse gitlink entries 14 years ago
René Scharfe 671f070721 add context pointer to read_tree_recursive() 15 years ago
Martin Koegler 7914053ba9 Remove unused object-ref code 15 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 15 years ago
Junio C Hamano af3785dc5a Optimize "diff --cached" performance. 16 years ago
Sam Vilain e2ac7cb5fb Don't assume tree entries that are not dirs are blobs 16 years ago
Martin Waitz 302b9282c9 rename dirlink to gitlink. 16 years ago
Linus Torvalds 100c5f3b0b Clean up object creation to use more common code 16 years ago
Linus Torvalds 8d9721c86b Teach "fsck" not to follow subproject links 16 years ago
Linus Torvalds 6fda5e5180 Initialize tree descriptors with a helper function rather than by hand. 16 years ago
Linus Torvalds a8c40471ab Remove "pathlen" from "struct name_entry" 16 years ago
Linus Torvalds c711a214c1 Trivial cleanup of track_tree_refs() 16 years ago
Nicolas Pitre 21666f1aae convert object type handling from a string to a number 16 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 16 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 16 years ago
David Rientjes 74b504f671 Make track_tree_refs void. 17 years ago
Linus Torvalds 1974632c66 Remove TYPE_* constant macros and use object_type enums consistently. 17 years ago
Linus Torvalds 855419f764 Add specialized object allocator 17 years ago
Linus Torvalds 885a86abe2 Shrink "struct object" a bit 17 years ago
Linus Torvalds 4c068a9831 tree_entry(): new tree-walking helper function 17 years ago
Linus Torvalds 15b5536ee4 Remove last vestiges of generic tree_entry_list 17 years ago
Linus Torvalds 3bc1eca91e Remove unused "zeropad" entry from tree_list_entry 17 years ago
Linus Torvalds 2d9c58c69d Remove "tree->entries" tree-entry list from tree parser 17 years ago
Linus Torvalds 0790a42a50 Switch "read_tree_recursive()" over to tree-walk functionality 17 years ago
Linus Torvalds 3a7c352bd0 Make "tree_entry" have a SHA1 instead of a union of object pointers 17 years ago
Linus Torvalds 136f2e548a Make "struct tree" contain the pointer to the tree buffer 17 years ago
Linus Torvalds 097dc3d8c3 Remove "tree->entries" tree-entry list from tree parser 17 years ago
Linus Torvalds 2522c13244 Switch "read_tree_recursive()" over to tree-walk functionality 17 years ago
Linus Torvalds a755dfe45c Make "tree_entry" have a SHA1 instead of a union of object pointers 17 years ago
Linus Torvalds d2eafb7661 Add raw tree buffer info to "struct tree" 17 years ago
Peter Eriksen 90321c106c Replace xmalloc+memset(0) with xcalloc. 17 years ago
Daniel Barkalow 521698b153 Only use a single parser for tree objects 17 years ago
Junio C Hamano 8f1d2e6f49 [PATCH] Compilation: zero-length array declaration. 17 years ago
Junio C Hamano 18d1e701b7 struct tree: remove unused field "parent" 17 years ago
Linus Torvalds 3c5e8468a9 ls-tree: major rewrite to do pathspec 17 years ago
Junio C Hamano 27dedf0c3b GIT 0.99.9j aka 1.0rc3 17 years ago
Sergey Vlasov 4a4e6fd74f Rework object refs tracking to reduce memory usage 17 years ago
Daniel Barkalow 77675e2aff [PATCH] Add a function for getting a struct tree for an ent. 17 years ago
Linus Torvalds 64071805ed git-fsck-cache: be stricter about "tree" objects 18 years ago
Linus Torvalds 3e58763542 Fix up read_tree() pathspec matching to use "const char **" 18 years ago
Linus Torvalds 0ca14a57f1 Start adding interfaces to read in partial trees 18 years ago
Junio C Hamano b155725dae [PATCH] Fix oversimplified optimization for add_cache_entry(). 18 years ago
Jason McMullan 5d6ccf5ce7 [PATCH] Anal retentive 'const unsigned char *sha1' 18 years ago