Re: git grep broken in Fedora 21 update?
- From
- Rustad, Mark D <mark.d.rustad@intel.com>
- Date
- Sep 4, 2015, 16:18 UTC
- Message-ID
- <B27266ED-9A9F-4127-8166-8AC235492B93@intel.com>
- In-Reply-To
- <20150904140345.GA28675@sigill.intra.peff.net>
Show 5 quoted lines
> On Sep 4, 2015, at 7:03 AM, Jeff King <peff@peff.net> 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