pgsql: Minor improvements to git_changelog.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Minor improvements to git_changelog.
Дата
Msg-id E1OzfSK-0006GJ-2Z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Minor improvements to git_changelog.

Avoid depending on Date::Calc, which isn't in a basic Perl installation,
when we can equally well use Time::Local which is.  Also fix the parsing
of timestamps to take heed of the timezone.  (It looks like cvs2git emitted
all commit timestamps with zone GMT, so this refinement might've looked
unnecessary when looking at converted data; but it's needed now.)

Fix parsing of message bodies so that blank lines that may or may not get
emitted by "git log" aren't confused with real data.  This avoids strange
formatting of the oldest commit on a branch.

Check child-process exit status, so that we actually notice if "git log"
fails, and so that we don't accumulate zombie children.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=901a5a786fa3cf107ceb11d2622cf8bb99221f3a

Modified Files
--------------
src/tools/git_changelog |   22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: pgsql: Fix another join removal bug: the check on PlaceHolderVars was w
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix another join removal bug: the check on PlaceHolderVars was w