Commit Graph

55 Commits (master)

Author SHA1 Message Date
Jeff King ec18b10bf2 tree-walk: add a mechanism for getting non-canonicalized modes 2 months ago
Jeff King 5290d45134 tree-walk.c: break circular dependency with unpack-trees 3 years ago
Heba Waly bbcfa3002a tree-walk: move doc to tree-walk.h 3 years ago
Jeff King 5aa02f9868 tree-walk: harden make_traverse_path() length computations 3 years ago
Jeff King c43ab06259 tree-walk: add a strbuf wrapper for make_traverse_path() 3 years ago
Jeff King b3b3cbcbf2 tree-walk: accept a raw length for traverse_path_len() 3 years ago
Jeff King 37806080d7 tree-walk: use size_t consistently 3 years ago
Jeff King 9055384710 tree-walk: drop oid from traverse_info 3 years ago
Nguyễn Thái Ngọc Duy 0dd1f0c3a6 tree-walk.c: remove the_repo from get_tree_entry_follow_symlinks() 3 years ago
Nguyễn Thái Ngọc Duy 50ddb089ff tree-walk.c: remove the_repo from get_tree_entry() 3 years ago
Nguyễn Thái Ngọc Duy 5e57580733 tree-walk.c: remove the_repo from fill_tree_descriptor() 3 years ago
Denton Liu 554544276a *.[ch]: remove extern from function declarations using spatch 3 years ago
Elijah Newren 5ec1e72823 Use 'unsigned short' for mode, like diff_filespec does 4 years ago
David Turner d1dd94b308 Do not print 'dangling' for cat-file in case of ambiguity 4 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 4 years ago
Nguyễn Thái Ngọc Duy 67022e0214 tree-walk.c: make tree_entry_interesting() take an index 4 years ago
Elijah Newren ef3ca95475 Add missing includes and forward declarations 4 years ago
brian m. carlson 3b683bcf85 tree-walk: convert get_tree_entry_follow_symlinks to object_id 4 years ago
brian m. carlson 916bc35b29 tree-walk: convert tree entry functions to object_id 5 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 5 years ago
David Turner 8354fa3d4c fsck: handle bad trees like other errors 6 years ago
brian m. carlson ce6663a9da tree-walk: convert tree_entry_extract() to use struct object_id 7 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 7 years ago
David Turner d9c2bd560e do_compare_entry: use already-computed path 7 years ago
David Turner 275721c267 tree-walk: learn get_tree_entry_follow_symlinks 7 years ago
Kirill Smelkov 7146e66f08 tree-walk: finally switch over tree descriptors to contain a pre-parsed entry 9 years ago
René Scharfe 603d249853 unpack-trees: don't shift conflicts left and right 9 years ago
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
Junio C Hamano 2842c0f914 traverse_trees(): allow pruning with pathspec 11 years ago
Nguyễn Thái Ngọc Duy 1376e50723 grep: drop pathspec_matches() in favor of tree_entry_interesting() 12 years ago
Nguyễn Thái Ngọc Duy d38f28093e tree_entry_interesting(): support wildcard matching 12 years ago
Nguyễn Thái Ngọc Duy 48932677d6 diff-tree: convert base+baselen to writable strbuf 12 years ago
Nguyễn Thái Ngọc Duy 2c389fc8ec Move tree_entry_interesting() to tree-walk.c and export it 12 years ago
Elijah Newren dabb061fa3 tree-walk: Correct bitrotted comment about tree_entry() 12 years ago
Elijah Newren 2244eab01b tree-walk: Correct bitrotted comment about tree_entry() 12 years ago
Matthieu Moy e6c111b4c0 unpack_trees: group error messages by type 12 years ago
Linus Torvalds 91e4f03604 Make 'traverse_trees()' traverse conflicting DF entries in parallel 15 years ago
Linus Torvalds 5803c6f8a2 Add return value to 'traverse_tree()' callback 15 years ago
Linus Torvalds 40d934df72 Make 'traverse_tree()' use linked structure rather than 'const char *base' 15 years ago
Junio C Hamano b45563a229 rename: Break filepairs with different types. 15 years ago
Linus Torvalds 481f0ee60e Fix rev-list when showing objects involving submodules 15 years ago
Linus Torvalds 4d1012c370 Fix rev-list when showing objects involving submodules 15 years ago
Junio C Hamano 63daae47e5 Two trivial -Wcast-qual fixes 16 years ago
Matthieu Castet 0ab311d601 Remove stale non-static-inline prototype for tree_entry_extract() 16 years ago
Linus Torvalds 4651ece854 Switch over tree descriptors to contain a pre-parsed entry 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 304de2d2d6 Avoid unnecessary strlen() calls 16 years ago
Linus Torvalds 4c068a9831 tree_entry(): new tree-walking helper function 17 years ago