diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py index 8edcff91ad6..86b470b0881 100755 --- a/contrib/gcc-changelog/git_repository.py +++ b/contrib/gcc-changelog/git_repository.py @@ -55,7 +55,10 @@ def parse_git_revisions(repo_path, revisions, strict=True): t = 'A' else: t = 'M' - modified_files.append((file.b_path, t)) + path = file.b_path + if path.startswith('"') and path.endswith('"'): + path = path[1:len(path)-1] + modified_files.append((path, t)) date = datetime.utcfromtimestamp(c.committed_date) author = '%s <%s>' % (c.author.name, c.author.email)