ci: Update tools/ChangelogGenerator/changelog_generator.py

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
uye
2025-11-22 02:47:23 +08:00
committed by GitHub
parent 64c56ad24f
commit ea0bf31187

View File

@@ -171,7 +171,7 @@ def build_commits_tree(commit_hash: str):
}
# 递归父 commit
res.update(build_commits_tree(commit_info["parent"][0]))
res |= build_commits_tree(commit_info["parent"][0])
if len(commit_info["parent"]) == 2:
# merge 分支处理