git.postgresql.org Git - postgresql.git/commit
2010年9月26日 04:21:51 +0000 (00:21 -0400)
2010年9月26日 04:21:51 +0000 (00:21 -0400)
commit 30d2e1005838c7ece353ef2ac269cfdc37e937be
Fix some more bugs in git_changelog.
1. Don't forget the last (oldest) commit on the oldest branch.
2. When considering which commit to print next, if two alternatives have
the same "distortion" score (which is actually the normal case, since
generally the "distortion" is 0), then choose the later timestamp to
print first. I don't know where Robert got the idea to ignore timestamps
and sort by branch age, but it wasn't a good idea: the resulting ordering
of commits was just plain bizarre anywhere that some branches had many
fewer commits than others, which is the typical situation for us.
This is the main PostgreSQL git repository.
RSS
Atom