From 6b575da0a057d5f93bb2c29a0105cb7a89cd3441 Mon Sep 17 00:00:00 2001
From: Florian Uhlig <f.uhlig@gsi.de>
Date: Mon, 12 Jul 2021 07:31:09 +0200
Subject: [PATCH] Fix rebase check

Increase the depth of the shallow clone done by GitLab.
If the number of commits is larger than the depth, the head of the
upstream/master is not in the history otherwise.
This fixes a problem of !399.
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 222760bde8..4dce637d4d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ stages:
 RebaseCheck:
   stage: checkRepository
   variables:
-    GIT_DEPTH: 100
+    GIT_DEPTH: 200
   image: alpine
   tags:
     - docker
@@ -41,7 +41,7 @@ RebaseCheck:
 LinearHistCheck:
   stage: checkRepository
   variables:
-    GIT_DEPTH: 100
+    GIT_DEPTH: 200
   image: alpine
   tags:
     - docker
-- 
GitLab