From: Sebastian Pipping Date: Wed, 17 Jul 2019 15:28:31 +0000 (+0200) Subject: AppVeyor: Drop "clone_depth: 1" because subsequent pushes were failing ongoing builds X-Git-Tag: R_2_2_8~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10c235458830fc894a6381cf6267246c68848adf;p=libexpat AppVeyor: Drop "clone_depth: 1" because subsequent pushes were failing ongoing builds Symptom: Build started git config --global core.autocrlf input git clone -q --depth=1 --branch=master https://github.com/libexpat/libexpat.git c:\projects\libexpat git checkout -qf d4d8d486af1810bff52612d84533985b9b47b7a6 fatal: reference is not a tree: d4d8d486af1810bff52612d84533985b9b47b7a6 Cause: A more recent push made d4d8d486af1810bff52612d84533985b9b47b7a6 the second-last commit so that --depth=1 would create a commit graph without that commit. Documented at: https://www.appveyor.com/docs/how-to/repository-shallow-clone/#setting-depth-of-git-clone-command --- diff --git a/appveyor.yml b/appveyor.yml index f52e7871..5008fb42 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,9 +36,6 @@ init: # version format version: libexpat-{build} -# set clone depth, clone entire repository history if not defined -clone_depth: 1 - # clone directory clone_folder: c:\projects\libexpat