Nguyán ThÃi Ngác Duy <pclouds@xxxxxxxxx> writes: > When wildcard match is implemented, a full path is needed to do final > match. What type of diff_tree is performed determines how to treat > directories: > > - If it's recursive diff, directories are just an intermediate step. > All path must end with a file name. Thus, directories will be > unconditionally matched. Hmm, I am not sure what you mean by this. If the pathspec says a/b*/c, you are in "a" and are deciding if you should descend to its subdirectory, then you would surely want to be able to say: (1) Ah, the subdirectory I am looking at is "bar" and it does match "b*". It might contain "c"; I should descend into it. (2) Nope, the subdirectory I am looking at is "frotz" and it can never match "b*", so there is no point recursing into it. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html