Re: [PATCH] --format=pretty: new modifiers cID, cIS, CIY

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

 



Tommy Thorn <tt1729@xxxxxxxxx> writes:

> [resent, sorry]
>
> --- Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> I think we would very much prefer, instead of
>> piling hacks on top of the originally supported 
>> "minimum set", to introduce a truly extensible 
>> syntax, like:
>
> I concur, but pretty-please make it a super set of 
> date(1) to the extent possible. It will lessen the 
> confusion. 
>
> Maybe something like "%c(%Y-%m-%d %H:%M) ...", eg.
> such
> that if `date +<format>' is legal, so is
> "%c(<format>)".

Please read what you are replying to again.  If you said the
above with %cT(...), it might have made some sense (but then how
are you differentiate between local and original timezone?), but
%c(...) needs to show not just the timestamp.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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