From: Avery Pennarun Date: Fri, 29 Aug 2008 03:43:05 GMT Subject: Re: [PATCH 0/2] Use %as and %cs as pretty format flags Message-ID: <32541b130808282043v5516e95ai49f928aeefb75fdd@mail.gmail.com> In-Reply-To: <7viqtkd84s.fsf@gitster.siamese.dyndns.org> On Thu, Aug 28, 2008 at 7:36 PM, Junio C Hamano wrote: > I was actually thinking about rejecting this, asking for something that > allows to express all the other %[ai][dDri] format can express, and > perhaps more. So I think "%ad(short)" is a good direction to go, except > that 'd' is already taken. Perhaps %a(date), %a(shortdate,local),...? These format strings are getting increasingly complicated without really gaining much in generality. Why not "%ad(strftime-compatible-format-string)" ? You could differentiate localtime vs. gmtime with %ad vs. %aD, or something like that. Have fun, Avery