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

From: Lucas Seiki Oshiro <[email-masked]>
Date: Thu, 18 Dec 2025 20:02:41 -0300

Hi, Junio!

> * Instead of munging the expected file so that it contains a NUL,
>   and compare the actual output with it, munge the NUL terminated
>   outout to make it text and compare with the expected file in text
>   format.

Ok! I'll do that in the next version.

> * I see your -z output is "<key> LF <value> NUL", but was there a
>   particular reason why "<key> NUL <value> NUL" was not chosen?

This was a suggestions by Phillip Wood [1]. We've chosen this format
following the format of git-config.

[1] https://lore.kernel.org/git/[email-masked]/