87 Commits (171309399a43a87af90dd3ca2b35a0f0f3aae908)

Author SHA1 Message Date
brian m. carlson 83e4b7571c tree-walk: replace hard-coded constants with the_hash_algo 7 years ago
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 7 years ago
brian m. carlson 3b683bcf85 tree-walk: convert get_tree_entry_follow_symlinks to object_id 7 years ago
brian m. carlson e84bc23cb6 tree-walk: avoid hard-coded 20 constant 7 years ago
brian m. carlson b4f5aca40e sha1_file: convert read_sha1_file to struct object_id 7 years ago
brian m. carlson 02f0547eaa sha1_file: convert read_object_with_reference to object_id 7 years ago
brian m. carlson 916bc35b29 tree-walk: convert tree entry functions to object_id 7 years ago
brian m. carlson 0d4a8b5b6c tree-walk: convert get_tree_entry_follow_symlinks internals to object_id 7 years ago
Brandon Williams eef3df5a93 pathspec: only match across submodule boundaries when requested 7 years ago
Ramsay Jones 071bcaab64 ALLOC_GROW: avoid -Wsign-compare warnings 7 years ago
René Scharfe 5c377d3d59 tree-walk: convert fill_tree_descriptor() to object_id 8 years ago
Jeff King d72cae12b9 get_sha1_with_context: always initialize oc->symlink_path 8 years ago
Junio C Hamano 5840eb9d14 doc: replace more gmane links 8 years ago
Brandon Williams 74ed43711f grep: enable recurse-submodules to work on <tree> objects 8 years ago
David Turner 8354fa3d4c fsck: handle bad trees like other errors 8 years ago
Jeff King 2edffef233 tree-walk: be more specific about corrupt tree errors 8 years ago
brian m. carlson ce6663a9da tree-walk: convert tree_entry_extract() 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
David Turner d9c2bd560e do_compare_entry: use already-computed path 9 years ago
David Turner 275721c267 tree-walk: learn get_tree_entry_follow_symlinks 10 years ago
Jeremiah Mahler ccdd4a0f3c cleanup duplicate name_compare() functions 11 years ago
Kirill Smelkov 7146e66f08 tree-walk: finally switch over tree descriptors to contain a pre-parsed entry 11 years ago
Andy Spencer e4ddb05720 tree_entry_interesting: match against all pathspecs 11 years ago
Nguyễn Thái Ngọc Duy 74b4f7f277 tree-walk.c: ignore trailing slash on submodule in tree_entry_interesting() 11 years ago
Nguyễn Thái Ngọc Duy ef79b1f870 Support pathspec magic :(exclude) and its short form :! 11 years ago
Stefan Beller a04f8196a8 traverse_trees(): clarify return value of the callback 12 years ago
Nguyễn Thái Ngọc Duy 93d9353716 parse_pathspec: accept :(icase)path syntax 12 years ago
Nguyễn Thái Ngọc Duy bd30c2e484 pathspec: support :(glob) syntax 12 years ago
Nguyễn Thái Ngọc Duy 5c6933d201 pathspec: support :(literal) syntax for noglob pathspec 12 years ago
Nguyễn Thái Ngọc Duy 8f4f8f4579 guard against new pathspec magic in pathspec matching code 12 years ago
Nguyễn Thái Ngọc Duy 6330a17199 parse_pathspec: add special flag for max_depth feature 12 years ago
Nguyễn Thái Ngọc Duy 64acde94ef move struct pathspec and related functions to pathspec.[ch] 12 years ago
Nguyễn Thái Ngọc Duy c904cd89e4 tree_entry_interesting: do basedir compare on wildcard patterns when possible 12 years ago
Nguyễn Thái Ngọc Duy 8c6abbcd27 pathspec: apply "*.c" optimization from exclude 12 years ago
Nguyễn Thái Ngọc Duy 5d74762d87 pathspec: do exact comparison on the leading non-wildcard part 12 years ago
Nguyễn Thái Ngọc Duy 170260ae90 pathspec: save the non-wildcard length part 12 years ago
Nguyễn Thái Ngọc Duy c3a47ca9a7 tree-walk: use enum interesting instead of integer 12 years ago
Nguyễn Thái Ngọc Duy 8c69c1f92e Document limited recursion pathspec matching with wildcards 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 9c6bebd142 tree_entry_interesting: make use of local pointer "item" 13 years ago
Junio C Hamano 5fb8c05f2e get_tree_entry(): do not call find_tree_entry() on an empty tree 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
Ramsay Jones 27c0f76884 Fix some "variable might be used uninitialized" warnings 14 years ago
Dan McGee 1b74092373 tree-walk: micro-optimization in tree_entry_interesting 14 years ago
Dan McGee 6de96915c0 tree-walk: drop unused parameter from match_dir_prefix 14 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