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, 22:05 UTC
- Message-ID
- <D71DC18C-03CF-49A3-8833-DED7E326344B@gmail.com>
- In-Reply-To
- <xmqqsedt8s3g.fsf@gitster.g>
> I thought the final comment on this was in > > https://lore.kernel.org/git/6186055.lOV4Wx5bFT@cayenne/
Actually, the final comment was [1], after the version where I use `[--format=...] [-z]`.
But actually, I don't have a strong opinion on using `| -z` vs using `[-z]`, since both work here, but if `| -z` looks clearer, I can change it in the next version. However, I'll do that for both repo-info and repo-structure, since --format is parsed by the same function in both of them.
[1]: <xmqqms7cltak.fsf@gitster.g <mailto:xmqqms7cltak.fsf@gitster.g>>