[Python-Dev] Emacs users: hg-tools-grep (original) (raw)
Brandon W Maister bwmaister at gmail.com
Wed Dec 12 15:46:36 CET 2012
- Previous message: [Python-Dev] Emacs users: hg-tools-grep
- Next message: [Python-Dev] Emacs users: hg-tools-grep
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yes indeed-- in my eagerness to make my first post to python-dev be well-received I completely forgot about git grep.
brandon
On Wed, Dec 12, 2012 at 9:20 AM, Xavier Morel <python-dev at masklinn.net>wrote:
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.
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/quodlibetor%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121212/6a0dc29c/attachment.html>
- Previous message: [Python-Dev] Emacs users: hg-tools-grep
- Next message: [Python-Dev] Emacs users: hg-tools-grep
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]