Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: [PATCH] Add a --dateformat= option to git-for-each-ref

From: Andy Parkins <hidden>
Date: 2016-06-15 22:43:37

On Wednesday 2007 September 26, Jeff King wrote:
would be more flexible. Although perhaps that is a bit too unlikely to
be concerned with implementing, giving options to substitutions seems
like a sane way to implement these sorts of things (e.g.,
"%(objectsize:human)", "%(parent:1)", etc).
I'd thought about doing it like that, but imagined that there would objections 
that it was overcomplicating git-for-each-ref.  As you think that's 
acceptable, I'll do it.
Surely this same code exists elsewhere, and could be easily factored out
into a parse_date_type function.
It was.  It was also in revisions.c.

A patch series that implements both your requested changes to follow.


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help