aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-09-26 01:51:20 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-09-26 01:51:20 -0400
commit899beb78941aa955aac2e19cb82458c6f4c7dd52 (patch)
treed8393b63b04ac9dce97c4ae706f67bb9f1ea231f /src/backend/parser/parse_utilcmd.c
parent30d2e1005838c7ece353ef2ac269cfdc37e937be (diff)
downloadpostgresql-899beb78941aa955aac2e19cb82458c6f4c7dd52.tar.gz
postgresql-899beb78941aa955aac2e19cb82458c6f4c7dd52.zip
Still more tweaking of git_changelog.
1. Don't assume there's only one candidate match; check them all and use the one with the closest timestamp. Avoids funny output when someone makes several successive commits with the same log message, as certain people have been known to do. 2. When the same commit (with the same SHA1) is reachable from multiple branch tips, don't report it for all the branches; instead report it only for the first such branch. Given our development practices, this case arises only for commits that occurred before a given branch split off from master. The original coding blamed old commits on *all* the branches, which isn't terribly useful; the new coding blames such a commit only on master.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions