Fill up entries in reverse order.

contrib/ChangeLog:

	* gcc-changelog/git_update_version.py:
	Fill up entries in reverse order.
This commit is contained in:
Martin Liska 2020-05-19 12:01:41 +02:00
parent 98456a64b0
commit 2114f78a95
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
1 changed files with 1 additions and 1 deletions

View File

@ -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: