Re: [PATCH] --format=pretty: new modifiers cID, cIS, CIY
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 1, 2008, 23:29 UTC
- Message-ID
- <7vabmk8dd4.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <96032.15671.qm@web39506.mail.mud.yahoo.com>
Tommy Thorn <tt1729@yahoo.com> writes:
Show 16 quoted lines
> [resent, sorry] > > --- Junio C Hamano <gitster@pobox.com> 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.