Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot
2026-09-04 01:51:16 +00:00
+2 -1
View File
@@ -134,7 +134,8 @@ def git_check_deviation(active_branch):
"""Return True if branch has custom commits
"""
cli.run(['git', 'fetch', 'upstream', active_branch])
deviations = cli.run(['git', '--no-pager', 'log', f'upstream/{active_branch}...{active_branch}'])
# As we only care about exit code, decode to bytes to avoid UnicodeDecodeError
deviations = cli.run(['git', '--no-pager', 'log', f'upstream/{active_branch}...{active_branch}'], text=False)
return bool(deviations.returncode)