[PATCH 07/15] pretty: allow passing NULL commit to format_commit_message()

2013-07-09 Thread Ramkumar Ramachandra
From: Nguyễn Thái Ngọc Duy The new formatter, for-each-ref, may use non-commit placeholders only. While it could audit the format line and warn/exclude commit placeholders, that's a lot more work than simply ignore them. Unrecognized placeholders are displayed as-is, pretty obvious that they are

[PATCH 07/15] pretty: allow passing NULL commit to format_commit_message()

2013-06-04 Thread Ramkumar Ramachandra
From: Nguyễn Thái Ngọc Duy The new formatter, for-each-ref, may use non-commit placeholders only. While it could audit the format line and warn/exclude commit placeholders, that's a lot more work than simply ignore them. Unrecognized placeholders are displayed as-is, pretty obvious that they are