Closed
Description
lines-changed-only
option does not work correctly and sometimes complains about lines that were not changed by the PR. For example this PR:
chocolate-doom/chocolate-doom#1480
Elicited comment "File opl/opl.c (lines 42, 56): Code does not conform to Custom style guidelines."
Line 42 was not changed. Line 56 wasn't either, but line 55 was.
https://github.com/chocolate-doom/chocolate-doom/runs/7307673916
Correct(ish) option appears to have been passed to clang-format: --lines=50:58
though the range should have been 53:55. Line 42 should definitely not have raised issues.