Re: [GSoC PATCH 1/2] repo: add the flag -z as an alias for --format=nul

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 21, 2025 at 6:09 PM Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> Karthik Nayak <karthik.188@xxxxxxxxx> writes:
>
> >> -git repo info [--format=(keyvalue|nul)] [<key>...]
> >> +git repo info [--format=(keyvalue|nul)|-z] [<key>...]
> >>
> >
> > Nit: Perhaps we can leave a space around '|' to make it easier to read?
>
> Documentation/CodingGuidelines (Synopsis Syntax) has explicit
> guidelines about these things.
>
>      Don't use spacing around "|" tokens when they're used to separate the
>      alternate arguments of an option:
>         Do: --track[=(direct|inherit)]
>         Don't: --track[=(direct | inherit)]
>

I stand corrected, thanks!





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux