From: Markus Heidelberg Date: Thu, 15 Jan 2009 23:04:27 GMT Subject: Re: fatal: git grep: cannot generate relative filenames containing '..' Message-ID: <200901160004.27956.markus.heidelberg@web.de> 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 /" or "git grep /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