37 Commits (e5fa45c159241b609bce40fa7a8687796e4b941d)

Author SHA1 Message Date
Ramsay Jones 27c0f76884 Fix some "variable might be used uninitialized" warnings 13 years ago
Dan McGee 1b74092373 tree-walk: micro-optimization in tree_entry_interesting 13 years ago
Dan McGee 6de96915c0 tree-walk: drop unused parameter from match_dir_prefix 13 years ago
Junio C Hamano 2842c0f914 traverse_trees(): allow pruning with pathspec 14 years ago
Junio C Hamano 33e0f62ba9 pathspec: rename per-item field has_wildcard to use_wildcard 14 years ago
Nguyễn Thái Ngọc Duy 1376e50723 grep: drop pathspec_matches() in favor of tree_entry_interesting() 14 years ago
Nguyễn Thái Ngọc Duy f1a2ddbbc2 tree_entry_interesting(): optimize wildcard matching when base is matched 14 years ago
Nguyễn Thái Ngọc Duy d38f28093e tree_entry_interesting(): support wildcard matching 14 years ago
Nguyễn Thái Ngọc Duy 86e4ca69e3 tree_entry_interesting(): fix depth limit with overlapping pathspecs 14 years ago
Nguyễn Thái Ngọc Duy bc96cc87db tree_entry_interesting(): support depth limit 14 years ago
Nguyễn Thái Ngọc Duy 58c4d66619 tree_entry_interesting(): refactor into separate smaller functions 14 years ago
Nguyễn Thái Ngọc Duy 48932677d6 diff-tree: convert base+baselen to writable strbuf 14 years ago
Nguyễn Thái Ngọc Duy 2c389fc8ec Move tree_entry_interesting() to tree-walk.c and export it 14 years ago
Matthieu Moy e6c111b4c0 unpack_trees: group error messages by type 15 years ago
René Scharfe ef0065034a fix minor memory leak in get_tree_entry() 15 years ago
Junio C Hamano 1ee26571e9 traverse_trees(): handle D/F conflict case sanely 15 years ago
Linus Torvalds bcbe5a515e Fix tree-walking compare_entry() in the presense of --prefix 17 years ago
Linus Torvalds 91e4f03604 Make 'traverse_trees()' traverse conflicting DF entries in parallel 17 years ago
Linus Torvalds 5803c6f8a2 Add return value to 'traverse_tree()' callback 17 years ago
Linus Torvalds 40d934df72 Make 'traverse_tree()' use linked structure rather than 'const char *base' 17 years ago
Martin Koegler 64cc1c0909 tree-walk: don't parse incorrect entries 17 years ago
Junio C Hamano a6080a0a44 War on whitespace 18 years ago
Linus Torvalds 4651ece854 Switch over tree descriptors to contain a pre-parsed entry 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 304de2d2d6 Avoid unnecessary strlen() calls 18 years ago
Jeff King d93b7d1c30 get_tree_entry: map blank requested entry to tree root 18 years ago
René Scharfe 4fe2cc0c89 Remove shadowing variable from traverse_trees() 18 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 19 years ago
Florian Forster 1d7f171c3a Remove all void-pointer arithmetic. 19 years ago
Linus Torvalds 4c068a9831 tree_entry(): new tree-walking helper function 19 years ago
Linus Torvalds 7d65848afd Don't use "sscanf()" for tree mode scanning 19 years ago
Junio C Hamano 4dcff634e6 get_tree_entry(): make it available from tree-walk 19 years ago
Peter Eriksen 8e44025925 Use blob_, commit_, tag_, and tree_type throughout. 19 years ago
Junio C Hamano 1b0c7174a1 tree/diff header cleanup. 19 years ago