[Python-Dev] Emacs users: hg-tools-grep
Petri Lehtinen
petri at digip.org
Wed Dec 12 15:42:50 CET 2012
Ross Lagerwall wrote:
> On Wed, Dec 12, 2012 at 01:27:21PM +0200, Petri Lehtinen wrote:
> > Brandon W Maister wrote:
> > > (defconst git-tools-grep-command
> > > "git ls-files -z | xargs -0 grep -In %s"
> > > "The command used for grepping files using git. See `git-tools-grep'.")
> >
> > What's wrong with git grep?
>
> Or "hg grep", for that matter?
hg grep searches in the repository history, so it's not good for this.
More information about the Python-Dev
mailing list