aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-05-19 12:01:41 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:03:46 -0300
commit4bdd1261d41f7c6039f2479856622d65617164b1 (patch)
treea827a23b744aab40ad64ccf19ee6b7ba2d4a2b5b
parent72f70c10c4f8ed0e247be28958eb8b5da50eea69 (diff)
downloadgcc-4bdd1261d41f7c6039f2479856622d65617164b1.zip
gcc-4bdd1261d41f7c6039f2479856622d65617164b1.tar.gz
gcc-4bdd1261d41f7c6039f2479856622d65617164b1.tar.bz2
Fill up entries in reverse order.
contrib/ChangeLog: * gcc-changelog/git_update_version.py: Fill up entries in reverse order.
-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 c66b4d6..2de44f2 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: