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

Re: [PATCH 0/2] cat-file: support NUL-delimited input with `-z`

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 23, 2022, 04:44 UTC
Message-ID
<xmqqczdwbfpr.fsf@gitster.g>
In-Reply-To
<cover.1658532524.git.me@ttaylorr.com>
Taylor Blau <me@ttaylorr.com> writes:
> This short patch series implements a `-z` mode that is compatible with
> the `--batch`, `--batch-check`, and new `--batch-command` options in
> `cat-file`.

It's a shame that we forgot that people use strange "object name" like "<tree>:<path>", when we originally intended to only take simple object names, like fully-spelled hexadecimal. And if we were prepared to take <path>, we should have make sure we use the usual cquote convention.

Previous: Ævar Arnfjörð Bjarmason
Message 15 of 15 in “cat-file: support NUL-delimited input with `-z`”
  1. 0/2 cat-file: support NUL-delimited input with `-z`Taylor Blau, Jul 22, 2022
  2. 1/2 t1006: extract --batch-command inputs to variablesTaylor Blau, Jul 22, 2022
  3. 2/2 builtin/cat-file.c: support NUL-delimited input with `-z`Taylor Blau, Jul 22, 2022
  4. Chris TorekJul 22, 2022
  5. Taylor BlauJul 25, 2022
  6. Junio C HamanoJul 23, 2022
  7. Taylor BlauJul 25, 2022
  8. Junio C HamanoJul 27, 2022
  9. Ævar Arnfjörð BjarmasonJul 23, 2022
  10. Junio C HamanoJul 23, 2022
  11. Taylor BlauJul 25, 2022
  12. Junio C HamanoJul 27, 2022
  13. Phillip WoodJul 31, 2022
  14. Ævar Arnfjörð BjarmasonAug 11, 2022
  15. Junio C HamanoJul 23, 2022

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.