Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: git grep broken in Fedora 21 update?

From: Rustad, Mark D <hidden>
Date: 2016-06-15 23:06:27

On Sep 4, 2015, at 7:03 AM, Jeff King [off-list ref] wrote:

Is it possible that git _is_ producing the hit, but it is getting eaten
by the pager or something like that? Does "git --no-pager grep
enter_lplu" produce the same results?
Well what do you know. Adding --no-pager gave me the right results. I wonder if the output isn't getting flushed to the pipe or something. In any case, I can add --no-pager to the alias I normally use and I'll be happy. The root cause will just gnaw at me for a while...

Hmm. Doing git grep enter_lplu | cat - also worked.

--
Mark Rustad, Networking Division, Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help