From: Markus Heidelberg <markus.heidelberg@web•de>
To: "George Spelvin" <linux@horizon•com>
Cc: git@vger•kernel.org
Subject: Re: fatal: git grep: cannot generate relative filenames containing '..'
Date: Fri, 16 Jan 2009 00:04:27 +0100 [thread overview]
Message-ID: <200901160004.27956.markus.heidelberg@web.de> (raw)
In-Reply-To: <20090115222905.8157.qmail@science.horizon.com>
George Spelvin, 15.01.2009:
> While you're at it, an option to search the entire git tree rather than
> the current subdirectory would also be useful. I was thinking about
> a flag like -r (for "root"), but a second idea dawned on me: interpret
> absolute pathnames as relative to the root of the repository. So I could
> "git grep <pattern> /" or "git grep <pattern> /include" from any subdirectory.
I have never used submodules execpt for trying out, but I think it would
ambigous when calling this command from inside a submodule. It's not
clear, whether the main repo or the submodule should be used.
Markus
next prev parent reply other threads:[~2009-01-15 23:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 22:29 fatal: git grep: cannot generate relative filenames containing '..' George Spelvin
2009-01-15 23:04 ` Markus Heidelberg [this message]
2009-01-16 1:52 ` Junio C Hamano
2009-01-16 21:30 ` Jon Loeliger
2009-01-17 2:21 ` Hannu Koivisto
2009-01-18 16:58 ` George Spelvin
2009-01-16 2:07 ` Johannes Schindelin
2009-01-16 2:12 ` Junio C Hamano
2009-01-16 3:27 ` George Spelvin
2009-01-16 4:24 ` George Spelvin
2009-01-16 11:41 ` SZEDER Gábor
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=200901160004.27956.markus.heidelberg@web.de \
--to=markus.heidelberg@web$(echo .)de \
--cc=git@vger$(echo .)kernel.org \
--cc=linux@horizon$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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