On Mon, Feb 28, 2011 at 4:27 AM, Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> wrote: > git grep -- $(git rev-parse --show-cdup) > > is the best we have right now. I think we're still looking for a good > way to denote "root of repo" (like "." for cwd). > > Also, we're thinking of changing a few defaults (to repo-wide), but "git > grep" is meant to stay close to ordinary grep. I had the crazy thought that if git had a --cdup option, then this would work with any command you wanted to run from the top: git --cdup grep ... Maybe that's the best way to expose "from the top please" generically? j. -- 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