Thread (2 messages) 2 messages, 2 authors, 2021-02-10

Re: [PATCH] grep: error out if --untracked is used with --cached

flat view

From: Junio C Hamano <hidden>
Date: 2021-02-09 20:51:52

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help