From: Eric Sunshine Date: Tue, 04 Jun 2013 21:15:24 GMT Subject: Re: [PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty Message-ID: In-Reply-To: <1370349337-20938-16-git-send-email-artagnon@gmail.com> On Tue, Jun 4, 2013 at 8:35 AM, Ramkumar Ramachandra wrote: > Use get_pretty_userformat() to interpret the --pretty string. This > means that leading you can now reference a format specified in a pretty.* s/leading// perhaps? > configuration variable as an argument to 'git for-each-ref --pretty='. > There are two caveats: > > 1. A leading "format:" or "tformat:" is automatically stripped and > ignored. Separator semantics are not configurable (yet). > > 2. No built-in formats are available. The ones specified in > pretty-formats (oneline, short etc) don't make sense when displaying > refs anyway. > > Signed-off-by: Ramkumar Ramachandra