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

Re: [PATCH] repo: add -z as an alias for --format=nul to git-repo-structure

From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Date
Dec 2, 2025, 00:29 UTC
Message-ID
<2EF2A8F3-93A7-499C-9307-413CBFB0C4D5@gmail.com>
In-Reply-To
<3hzpywampwjfsckljdqhyabhkupqmrzbcsc7fhrkg2cl4rjzzm@mygtkda7soxj>
Hi!
Show 5 quoted lines
>> This patch is based on top of master b31ab939fe (The fourth batch, 2025-11-26)
>> with lo/repo-info-all merged.
> 
> Any reason this isn't just based on master? It looks like this patch
> should apply just fine as I don't see any dependencies.
Yesterday, lo/repo-info-all wasn't merged yet to master :-)
> Reusing the same `parse_format_cb()` makes sense and also matches what
> we do with git-repo-info. Looks good.

Yes, this callback is used by both subcommands, this was a really straightforward change.

> Did you mean to use the -z option here?
Ooops, yes, sorry. I'll fix it.
Previous: Justin ToblerNext: Lucas Seiki Oshiro
Message 8 of 15 in “repo: add -z as an alias for --format=nul to git-repo-structure”
  1. repo: add -z as an alias for --format=nul to git-repo-structureLucas Seiki Oshiro, Nov 30, 2025
  2. Junio C HamanoDec 1, 2025
  3. Patrick SteinhardtDec 1, 2025
  4. Lucas Seiki OshiroDec 1, 2025
  5. Junio C HamanoDec 2, 2025
  6. Lucas Seiki OshiroDec 2, 2025
  7. Justin ToblerDec 1, 2025
  8. Lucas Seiki OshiroDec 2, 2025
  9. 0/3 repo: add -z as an alias for --format=nul to git-repo-structureLucas Seiki Oshiro, Dec 4, 2025
  10. 1/3 repo: remove blank line from Documentation/git-repo.adocLucas Seiki Oshiro, Dec 4, 2025
  11. 2/3 repo: use [--format=... | -z] instead of [-z] in git-repo-info synopsisLucas Seiki Oshiro, Dec 4, 2025
  12. 3/3 repo: add -z as an alias for --format=nul to git-repo-structureLucas Seiki Oshiro, Dec 4, 2025
  13. Junio C HamanoDec 11, 2025
  14. Lucas Seiki OshiroDec 18, 2025
  15. Patrick SteinhardtDec 5, 2025

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.