Re: [PATCH] Add --pretty=changelog
From: Eric Wong <hidden>
Date: 2016-06-15 22:42:57
Johannes Schindelin [off-list ref] wrote:
Hi, On Tue, 27 Feb 2007, Nicolas Pitre wrote:quoted
On Tue, 27 Feb 2007, Johannes Schindelin wrote:quoted
This outputs the log in GNU ChangeLog format.Please don't call it "changelog". I personally find this format horrid and "changelog" is too generic for such a specific format. "gnu_changelog" maybe...Fair enough. Maybe with a dash, so it is easier to type?
quoted hunk ↗ jump to hunk
--- a/commit.c +++ b/commit.c@@ -38,6 +38,7 @@ struct cmt_fmt_map { { "fuller", 5, CMIT_FMT_FULLER }, { "oneline", 1, CMIT_FMT_ONELINE }, { "format:", 7, CMIT_FMT_USERFORMAT}, + { "changelog", 9, CMIT_FMT_CHANGELOG}
^- that should be a 1 'gnu[_-]changelog' or 'changelog' would all uniquely abbreviate to a single character. --pretty=gnu sounds nice, however :) -- Eric Wong