12 git fetch
$CI_REPOSITORY_URL --shallow-exclude=refs
/heads
/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME refs
/pipelines
/$CI_PIPELINE_ID
13 git fetch
$CI_REPOSITORY_URL --depth=1 $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
15 git rev-list
--reverse FETCH_HEAD..
$CI_BUILD_REF |
( while read commit_hash
17 echo "Checking commit $(git show --no-patch --pretty='%h ("%s
")' $commit_hash)"
18 git show
--no-patch --format=%B
$commit_hash |
grep -q "Signed-off-by:" || error
"Commit $commit_hash does not contain a Signed-off-by line! Please see <https://gitlab.com/tortoisegit/tortoisegit/blob/master/doc/HowToContribute.txt>"
20 if [[ $founderror != false
]]; then
27 if [[ $founderror != false
]]; then