git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git grep broken in Fedora 21 update?

From
RDRustad, 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

Previous: Jeff King
Message 5 of 5 in “git grep broken in Fedora 21 update?”
  1. Rustad, Mark DSep 4, 2015
  2. Jacob KellerSep 4, 2015
  3. Michael J GruberSep 4, 2015
  4. Jeff KingSep 4, 2015
  5. Rustad, Mark DSep 4, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.