[PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty

2013-07-09 Thread Ramkumar Ramachandra
Use get_pretty_userformat() to interpret the --pretty string. This means that you can now reference a format specified in a pretty.* 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

Re: [PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty

2013-06-04 Thread Eric Sunshine
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

Re: [PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty

2013-06-04 Thread Duy Nguyen
On Tue, Jun 4, 2013 at 7:35 PM, 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.* > configuration variable as an argument to 'git for-each-ref --pretty='. > There are two cav

[PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty

2013-06-04 Thread Ramkumar Ramachandra
Use get_pretty_userformat() to interpret the --pretty string. This means that leading you can now reference a format specified in a pretty.* configuration variable as an argument to 'git for-each-ref --pretty='. There are two caveats: 1. A leading "format:" or "tformat:" is automatically stripped