From: Junio C Hamano Date: Fri, 01 Feb 2008 23:29:27 GMT Subject: Re: [PATCH] --format=pretty: new modifiers cID, cIS, CIY Message-ID: <7vabmk8dd4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <96032.15671.qm@web39506.mail.mud.yahoo.com> Tommy Thorn writes: > [resent, sorry] > > --- Junio C Hamano 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 +' is legal, so is > "%c()". 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.