From: Chris Packham <judge.packham@gmail.com>
To: git@vger.kernel.org
Cc: Jens.Lehmann@web.de, pclouds@gmail.com, gitster@pobox.com
Subject: [RGC/PATCHv2] grep: submodule support
Date: Fri, 15 Oct 2010 16:26:39 -0700 [thread overview]
Message-ID: <1287185204-843-1-git-send-email-judge.packham@gmail.com> (raw)
Here is my updated grep support for submodules series. The old series
can be seen here [1].
[1] http://article.gmane.org/gmane.comp.version-control.git/157599
This the actual implementation is far from complete but the first 3
patches should be OK on their own. Since the last series I've rebased to
master on git.git so hopefully more people can try it out if they want
to. I'll be travelling/moving for the next week or so I may be a little
unresponsive.
The changes since last time are:
* use environment variables to pass some information to the sub-process
* a lot more options supported by create_sub_grep_argv, including
rebuilding the pattern list.
* figure out the correct prefix based on the cwd & worktree (thanks Duy).
Chris Packham (4):
grep: output the path from cwd to worktree
grep_cache: check pathspec first
add test for git grep --recursive
grep: add support for grepping in submodules
Nguyễn Thái Ngọc Duy (1):
worktree: provide better prefix to go back to original cwd
next reply other threads:[~2010-10-15 23:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 23:26 Chris Packham [this message]
2010-10-15 23:26 ` [RFC/PATCHv2 1/5] worktree: provide better prefix to go back to original cwd Chris Packham
2010-10-16 18:42 ` Jonathan Nieder
2010-10-17 2:48 ` Chris Packham
2010-10-17 10:01 ` Nguyen Thai Ngoc Duy
2010-10-18 2:05 ` Chris Packham
2010-10-15 23:26 ` [RFC/PATCHv2 2/5] grep: output the path from cwd to worktree Chris Packham
2010-10-15 23:26 ` [RFC/PATCHv2 3/5] grep_cache: check pathspec first Chris Packham
2010-10-15 23:26 ` [RFC/PATCHv2 4/5] add test for git grep --recursive Chris Packham
2010-10-15 23:26 ` [RFC/PATCHv2 5/5] grep: add support for grepping in submodules Chris Packham
2010-10-17 10:28 ` Nguyen Thai Ngoc Duy
2010-10-18 2:01 ` Chris Packham
2010-10-18 3:37 ` Nguyen Thai Ngoc Duy
2010-10-16 15:54 ` [RGC/PATCHv2] grep: submodule support Jens Lehmann
2010-10-17 2:13 ` Chris Packham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287185204-843-1-git-send-email-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--cc=Jens.Lehmann@web.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).