]> granicus.if.org Git - libexpat/commit
AppVeyor: Drop "clone_depth: 1" because subsequent pushes were failing ongoing builds
authorSebastian Pipping <sebastian@pipping.org>
Wed, 17 Jul 2019 15:28:31 +0000 (17:28 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 17 Jul 2019 15:28:31 +0000 (17:28 +0200)
commit10c235458830fc894a6381cf6267246c68848adf
tree810cc27151feacf6e1a1aa101498f85df36c7912
parentc906acdafc0a8acd51e8d11fd1b805e85cbcf9da
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
appveyor.yml