Actions
Optimization #7292
closedCI: clang-format rechecks every main-7.0.x commit
Effort:
Difficulty:
Label:
Description
This led to wrong formatting when fixing git conflict cf https://github.com/OISF/suricata/pull/11849
Actions
Added by Philippe Antoine about 1 year ago. Updated 6 months ago.
Description
This led to wrong formatting when fixing git conflict cf https://github.com/OISF/suricata/pull/11849
Because of FirstCommitOfBranch using master
We need to fix it master first, otherwise, we will have the same problem when working on suricata 9 and doing backports for 8
function FirstCommitOfBranch {
local first_commit=$(git rev-list origin/master..HEAD | tail -n 1)
echo $first_commit
}
We need to use something else than origin/master. here