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

Re: [PATCH] grep: follow conventions for printing paths w/ unusual chars

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 17, 2020, 21:35 UTC
Message-ID
<xmqqd085vlqg.fsf@gitster.c.googlers.com>
In-Reply-To
<CAHd-oW7B1wtHOE7KCtOR-kAXhuj8Du_MAYobWd9nSsSvm_sChQ@mail.gmail.com>
Matheus Tavares Bernardino <matheus.bernardino@usp.br> writes:
> Right. But the ABC prefix here is always a tree name,...

Oh, then that is perfectly fine. I did not expect that the code passes <tree-name>:<pathnname> (like "HEAD~2:t/Makefile") to us as a single string.

Thanks.
Previous: Matheus Tavares BernardinoNext: Johannes Schindelin
Message 9 of 13 in “git-grep's "-z" option misbehaves in subdirectory”
  1. Greg HurrellApr 13, 2020
  2. Junio C HamanoApr 13, 2020
  3. Matheus Tavares, Apr 14, 2020
  4. Matheus Tavares BernardinoApr 16, 2020
  5. Junio C HamanoApr 16, 2020
  6. grep: follow conventions for printing paths w/ unusual charsMatheus Tavares, Apr 17, 2020
  7. Junio C HamanoApr 17, 2020
  8. Matheus Tavares BernardinoApr 17, 2020
  9. Junio C HamanoApr 17, 2020
  10. Johannes SchindelinApr 18, 2020
  11. Johannes SchindelinApr 18, 2020
  12. Matheus Tavares BernardinoApr 19, 2020
  13. grep: follow conventions for printing paths w/ unusual charsMatheus Tavares, Apr 19, 2020

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.