git: fcb4797c90f3 - main - Cirrus-CI: Use the default Git history depth

Ed Maste emaste at FreeBSD.org
Fri Jan 29 14:29:48 UTC 2021


The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=fcb4797c90f3f62a18b67542ae5b576a1271e6d4

commit fcb4797c90f3f62a18b67542ae5b576a1271e6d4
Author:     Fedor Korotkov <fedor.korotkov at gmail.com>
AuthorDate: 2021-01-29 14:22:54 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-01-29 14:29:30 +0000

    Cirrus-CI: Use the default Git history depth
    
    Which is `50`.  I saw a few errors like
    `Failed to force reset to SHA: object not found!` which seems is
    happening because the SHA is not available because there were two
    commits pushed almost simultaneously and the second from the top fails
    with this error because the SHA is not in the history.
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/454
---
 .cirrus.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 71bd02a2ca8c..a35b40c113b4 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -7,9 +7,6 @@ freebsd_instance:
   cpu: 8
   memory: 24G
 
-env:
-  CIRRUS_CLONE_DEPTH: 1
-
 task:
   only_if: $CIRRUS_BRANCH != 'svn_head'
   timeout_in: 120m


More information about the dev-commits-src-all mailing list