[PATCH 06/15] pretty: limit recursion in format_commit_one()

2013-07-09 Thread Ramkumar Ramachandra
To make sure that a pretty_ctx->format substitution doesn't result in an infinite recursion, change the prototype of format_commit_one() to accept one last argument: no_recurse. So, a single substitution by format() must yield a result that can be parsed by format_commit_one() without the help of

[PATCH 06/15] pretty: limit recursion in format_commit_one()

2013-06-04 Thread Ramkumar Ramachandra
To make sure that a pretty_ctx->format substitution doesn't result in an infinite recursion, change the prototype of format_commit_one() to accept one last argument: no_recurse. So, a single substitution by format() must yield a result that can be parsed by format_commit_one() without the help of