On Sat, May 25, 2013 at 1:26 PM, Duy Nguyen <pclouds@xxxxxxxxx> wrote: > On Sat, May 25, 2013 at 5:51 AM, Duy Nguyen <pclouds@xxxxxxxxx> wrote: >> I just had an idea that might bring pretty stuff to for-each-ref with >> probably reasonable effort, making for-each-ref format a superset of >> pretty. But I need to clean up my backlog first. Give me a few days, I >> will show you something (or give up ;) > > And I can't get it out of my head. Might as well write it down. Check out > > https://github.com/pclouds/git.git for-each-ref-pretty Ram, fetch the url above again. Its tip now is 5b4aa27 (for-each-ref: introduce format specifier %>(*) and %<(*) - 2013-05-25). Those changes make for-each-ref --format a superset of pretty. You can add new %(xxx) on top and resend the whole thing to the list for review. You can remove "branch -v/-vv" code as well or I'll add some patches on top to do that later. I have some compatibility concerns about the "superset" thing. But let's wait until the series hits git@vger. -- Duy -- 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