Re: [GSoC RFC PATCH v4 2/4] repo: add the field references.format

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

 



> So maybe we have three different output modes for `--format=<mode>`:
> `user` (default), `keyvalue`, and `nul`?

What about `porcelain` (default), `keyvalue` and `null` (being `-z` an
alias for this last one)?

> For `git repo info`, I'm not entirely certain how the default
> user-friendly mode would/should differ from the key-value one

Even for the "survey" part, would it be useful to have a key-value and
another human-readable format?

Another thing that I was thinking (as a future feature): what about
using by default the user-friendly format and using the null-terminated
format when piping the output to another command (like git-diff does
with the colors)?





[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