Thread (178 messages) 178 messages, 10 authors, 2025-08-16

Re: [GSoC PATCH v5 5/5] repo: add the --format flag

From: Lucas Seiki Oshiro <hidden>
Date: 2025-07-31 23:01:55

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!
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help