Elijah Newren [off-list ref] writes:
... Even then, I'd be tempted to say that
--untracked is only used in combination with a search of the working
tree.
I tend to agree. Something like
$ git grep -ne POISON maint master next seen -- t/test-lib.sh
would be a useful thing, but I do not see how --untracked would
usefully interact with any of these "tracked" contents, be the
search from the index or tree.
On Tue, Feb 09, 2021 at 12:38:02PM -0800, Junio C Hamano wrote:
Elijah Newren [off-list ref] writes:
quoted
... Even then, I'd be tempted to say that
--untracked is only used in combination with a search of the working
tree.
I tend to agree. Something like
$ git grep -ne POISON maint master next seen -- t/test-lib.sh
would be a useful thing, but I do not see how --untracked would
usefully interact with any of these "tracked" contents, be the
search from the index or tree.
I agree with both you and Elijah. I don't mind banning the pair as
unimplemented and "won't possibly work correctly together", since it
leaves open the possibility that we might find time to make them
compatible, at which point we could revert this patch.
But what Matheus provided looks good to me.
Thanks,
Taylor