Re: [GSoC PATCH v5 5/5] repo: add the --format flag
- From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
- Date
- Jul 31, 2025, 23:01 UTC
- Message-ID
- <732406E2-DE50-40D5-A8EE-A3C2973D7671@gmail.com>
- In-Reply-To
- <CAPig+cQn7c5+k06yHOD2jxYTGnny7is=fbo4tOw26eD+4zX-Jw@mail.gmail.com>
> I haven't been following the discussion around this series, but don't > we also usually provide a `-z` short option? Should that be added for > consistency with other commands and to avoid surprising users, or is > it too early to commit to that?
Yes, it is planned to be added in a future patch!
Show 5 quoted lines
> something like this: > > printf "$key\n$expected_value\0" >expect && > git -C repo repo info --format=nul "$key" >actual && > test_cmp_bin expect actual
Even better, and it's consistent to your previous suggestion. I'll do that in the next version.