public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-1927] gcc-changelog: do not run extra deduction
Date: Tue,  2 Aug 2022 08:52:19 +0000 (GMT)	[thread overview]
Message-ID: <20220802085219.4A05F385274A@sourceware.org> (raw)

https://gcc.gnu.org/g:c2d074293824cf8d4b24f00d94013124214e6fe5

commit r13-1927-gc2d074293824cf8d4b24f00d94013124214e6fe5
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Aug 2 10:50:07 2022 +0200

    gcc-changelog: do not run extra deduction
    
    Do not deduce changelog for root ChangeLog ('').
    
    contrib/ChangeLog:
    
            * gcc-changelog/git_commit.py: Do not deduce changelog for root ChangeLog.

Diff:
---
 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)


                 reply	other threads:[~2022-08-02  8:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220802085219.4A05F385274A@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).