* [PATCH][pushed] gcc-changelog: do not run extra deduction
@ 2022-08-02 8:51 Martin Liška
2022-08-02 10:10 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2022-08-02 8:51 UTC (permalink / raw)
To: gcc-patches; +Cc: Jonathan Wakely
Do not deduce changelog for root ChangeLog ('').
Small cleanup, pushed.
@Jonathan: Please update the server hook.
Martin
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Do not deduce changelog for root ChangeLog.
---
contrib/gcc-changelog/git_commit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index a6b5ff04f22..7f6ff87ba99 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -626,7 +626,7 @@ class GitCommit:
def deduce_changelog_locations(self):
for entry in self.changelog_entries:
- if not entry.folder:
+ if entry.folder is None:
changelog = None
for file in entry.files:
location = self.get_file_changelog_location(file)
--
2.37.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][pushed] gcc-changelog: do not run extra deduction
2022-08-02 8:51 [PATCH][pushed] gcc-changelog: do not run extra deduction Martin Liška
@ 2022-08-02 10:10 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2022-08-02 10:10 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches
On Tue, 2 Aug 2022 at 09:51, Martin Liška wrote:
>
> Do not deduce changelog for root ChangeLog ('').
>
> Small cleanup, pushed.
>
> @Jonathan: Please update the server hook.
Done. It looks like several recent changes to the hook had not been
committed to the gcc-hooks repo, so I've done that now.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-02 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 8:51 [PATCH][pushed] gcc-changelog: do not run extra deduction Martin Liška
2022-08-02 10:10 ` Jonathan Wakely
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).