summaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-05-19 12:01:41 +0200
committerMartin Liska <mliska@suse.cz>2020-05-19 12:01:41 +0200
commit2114f78a95fea4f334c4fd43b703dfe3b671ac42 (patch)
treef6ee68c5b72b6c39e0067da36c8d7f14f58f703c /contrib/gcc-changelog
parent98456a64b0b5c20eeb8f964c7718072ba9b0e568 (diff)
Fill up entries in reverse order.
contrib/ChangeLog: * gcc-changelog/git_update_version.py: Fill up entries in reverse order.
Diffstat (limited to 'contrib/gcc-changelog')
-rwxr-xr-xcontrib/gcc-changelog/git_update_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index c66b4d68e68..2de44f27580 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -93,7 +93,7 @@ for ref in origin.refs:
# TODO: set strict=True after testing period
commits = parse_git_revisions(args.git_path, '%s..HEAD'
% commit.hexsha, strict=False)
- for git_commit in commits:
+ for git_commit in reversed(commits):
prepend_to_changelog_files(repo, args.git_path, git_commit)
# update timestamp
with open(datestamp_path, 'w+') as f: