public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4715] gcc-changelog: Change parse_git_revisions strict argument to True.
@ 2020-11-04 10:02 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2020-11-04 10:02 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:10a50d261e5504887b0702bea3876103ea461f2b
commit r11-4715-g10a50d261e5504887b0702bea3876103ea461f2b
Author: Martin Liska <mliska@suse.cz>
Date: Wed Nov 4 10:57:28 2020 +0100
gcc-changelog: Change parse_git_revisions strict argument to True.
Change the default that is used by GIT server hook and also
by git_update_version.py. Both should use True now.
contrib/ChangeLog:
* gcc-changelog/git_repository.py: Set strict=True
for parse_git_revisions as a default.
Diff:
---
contrib/gcc-changelog/git_repository.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py
index 90edc3ce3d8..8edcff91ad6 100755
--- a/contrib/gcc-changelog/git_repository.py
+++ b/contrib/gcc-changelog/git_repository.py
@@ -29,7 +29,7 @@ except ImportError:
from git_commit import GitCommit, GitInfo
-def parse_git_revisions(repo_path, revisions, strict=False):
+def parse_git_revisions(repo_path, revisions, strict=True):
repo = Repo(repo_path)
def commit_to_info(commit):
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-04 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 10:02 [gcc r11-4715] gcc-changelog: Change parse_git_revisions strict argument to True Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).