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@xxxxxxxxx - 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