Michael J Gruber [off-list ref] writes:
When --full-tree is given, make the pathspecs be applied relative to the
root. That way, "git grep --full-tree expr -- *.c" looks in all C files in
the repo.
This is basically Ok, but I wonder if this has funny interaction with
rev/path disambiguation. What happens to these two "git grep", and what
should happen?
cd Documentation
git grep --full-tree index technical
git grep --full-tree index Documentation/technical
Once you said --full-tree, "technical" does not refer to Documentation/technical
so the first one should probably say "technical is not a rev and there is
no such path" while the second one should know Documentation/technical/ is
a pathspec, perhaps?