Skip to content

Commit 83020b2

Browse files
committed
commits: skip b4 cover-letter commit
They are empty, no need to validate them, and checkpatch would complain about them. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 9659a36 commit 83020b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ is_commit_skipped() { local commit curr
162162
fi
163163
done
164164

165+
# Skip empty commits used by b4
166+
if git log -1 HEAD | grep -q "^\s\+--- b4-submit-tracking ---$"; then
167+
return 0
168+
fi
169+
165170
return 1
166171
}
167172

0 commit comments

Comments
 (0)