A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-December/123122.html below:

[Python-Dev] Emacs users: hg-tools-grep

[Python-Dev] Emacs users: hg-tools-grep [Python-Dev] Emacs users: hg-tools-grepXavier Morel python-dev at masklinn.net
Wed Dec 12 15:20:30 CET 2012
On 2012-12-12, at 15:12 , 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 the history, not the working copy. *-tools-grep only
searches the working copy but automatically filters files to only search
in files under version control.

Which as far as I know is indeed what git-grep does already.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4