Skip to content
  • Ben Gamari's avatar
    fe965316
    gitlab-ci: Use --unshallow when fetching for linters · fe965316
    Ben Gamari authored
    GitLab creates a shallow clone. However, this means that we may not have
    the base commit of an MR when linting, causing `git merge-base` to fail.
    Fix this by passing `--unshallow` to `git fetch`, ensuring that we have
    the entire history.
    fe965316
    gitlab-ci: Use --unshallow when fetching for linters
    Ben Gamari authored
    GitLab creates a shallow clone. However, this means that we may not have
    the base commit of an MR when linting, causing `git merge-base` to fail.
    Fix this by passing `--unshallow` to `git fetch`, ensuring that we have
    the entire history.
Loading