Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: suggest setting fetch-depth on ref errors
Emit a hopefully more helpful error message when the Git ref doesn't exist. The error message is the same we use when getting changed files only: it suggests checking that repository clone is not shallow, and that the full history is available. Additionally, when running on GitHub Actions, it also suggests checking the fetch-depth option of the actions/checkout step. Fix #5315
- Loading branch information