On Tue, Aug 18, 2009 at 1:25 PM, Jakub Narebski<jnareb@xxxxxxxxx> wrote: > Well, I also think that it would be nice and useful to have "git find" > in addition to current "git grep". Can you make a draft on how you want "git find" to be? Except the "-exec" part, Git allows us to search using various commands (ls-files, rev-list, log). I don't think a single "git find" can cover them all. I was thinking about putting more find-options to search commands we already have. ls-files would support -exec, for example. A few things that I'd love to have supported: - --depth for ls-files (probably all pathspec-as-argument commands) - logical combination of search criteria - unified blob locator. git-show understands SHA-1:/path/to/blob syntax. What if git-log can output using similar syntax, then feed them to git-grep in order to grep through (across commits)? -- Duy -- 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