[gcc/devel/gccgo] Fill up entries in reverse order.

Ian Lance Taylor ian@gcc.gnu.org
Sun Jul 12 18:24:53 GMT 2020


https://gcc.gnu.org/g:2114f78a95fea4f334c4fd43b703dfe3b671ac42

commit 2114f78a95fea4f334c4fd43b703dfe3b671ac42
Author: Martin Liska <mliska@suse.cz>
Date:   Tue May 19 12:01:41 2020 +0200

    Fill up entries in reverse order.
    
    contrib/ChangeLog:
    
            * gcc-changelog/git_update_version.py:
            Fill up entries in reverse order.

Diff:
---
 contrib/gcc-changelog/git_update_version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:


More information about the Gcc-cvs mailing list