Bruce Momjian wrote:
> To simplify the creation of the release note with the commit tag as an
> SGML comment, I think src/tools/git_changelog should be modified to
> output this string. The format "trunc" feature was added in git 1.8.3.
> Is that old enough for everyone?
Hmm, that's pretty new actually,
commit edca4152560522a431a51fc0a06147fc680b5b18
Author: Junio C Hamano <gitster@pobox.com>
AuthorDate: Fri May 24 11:34:46 2013 -0700
CommitDate: Fri May 24 11:34:46 2013 -0700
Git 1.8.3
Since it's only needed by people preparing the release notes, I would
guess it's okay --- evidently Tom was able to use it.
Maybe an option is to use trunc when git 1.8.3 or newer is detected, and
plain (no trunc) otherwise?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services