]> granicus.if.org Git - curl/commitdiff
cirrus: Increase the git clone depth.
authorDan Fandrich <dan@coneharvesters.com>
Wed, 9 Oct 2019 08:55:06 +0000 (10:55 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 9 Oct 2019 08:55:06 +0000 (10:55 +0200)
If more commits are submitted to master between the time of triggering
the first Cirrus build and the time the final build gets started, the
desired commit is no longer at HEAD and the build will error out.
[skip ci]

.cirrus.yml

index 3fea4ec3e035d91cb2590d8d0f6f9c62d575d50d..2eeb4b1ff8e5927c6b707887f2db5d9e80de8836 100644 (file)
@@ -13,7 +13,7 @@ task:
       image_family: freebsd-10-4
 
   env:
-    CIRRUS_CLONE_DEPTH: 1
+    CIRRUS_CLONE_DEPTH: 10
     MAKE_FLAGS: -j 2
 
   pkginstall_script: