Re: [PATCH] pretty: allow to override the built-in formats

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

 



On 07.09.20 08:54, Junio C Hamano wrote:
> Finally, a non-built-in name to express the format specific to a
> project can already be defined and used pretty easily; e.g. the
> "pretty.kernel" format may say %h ("%s") and can be used like
> 
>     $ git show -s --pretty=kernel HEAD
> 
> with the same ease as the 'reference' format.
> 
>     $ git show -s --pretty=reference HEAD

This would work fine if there wasn't also gitk, which has a "Copy commit
reference" function. Without a common name for the format in Git and
gitk, we lose the single point of truth.

The one alternative I can see is to make the format name configurable in
gitk.



[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