Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> writes: > (off topic?) > > "ls-tree -r" does not understand wildcards. Maybe it should not, but I > think read_tree_recursive() should use tree_entry_interesting(). The > function it uses for matching, match_tree_entry, looks like another > variant of t_e_interesting. I thought that you already did that within the scope of your earlier topic. "ls-tree" is quite a low-level plumbing, and until we absolutely know that all the old scripts people wrote relying on its original behaviour are extinct, we shouldn't touch it without a reasonable breakage protection. It is Ok to give it a command line option to make it in line with other pathspec users, namely, that causes the command to missing pathspec should automatically mean the whole tree and to honor globs. No existing script would be using that option, so that is a safe thing to do. -- 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