mirror of
https://github.com/intel/isa-l.git
synced 2025-11-01 21:13:09 +01:00
test: Ignore merge commits in signoff check
Change-Id: I205b7ec523eaf7576513f0ca3edb2bddea43b6ce Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
@@ -76,7 +76,7 @@ done <<< $(git ls-files -s '*.sh')
|
||||
|
||||
|
||||
echo "Checking for signoff in commit message..."
|
||||
if ! git log -n 1 --format=%B | grep -q "^Signed-off-by:" ; then
|
||||
if ! git log -n 1 --format=%B --no-merges | grep -q "^Signed-off-by:" ; then
|
||||
echo " Commit not signed off. Please read src/CONTRIBUTING.md"
|
||||
rc=1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user