Merge pull request #9406 from NixOS/backport-9390-to-2.18-maintenance

[Backport 2.18-maintenance] fetchTree: clarify docs for shallow flag
This commit is contained in:
Théophane Hufschmitt 2023-11-20 15:38:25 +01:00 committed by GitHub
commit fadad86276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -395,7 +395,8 @@ static RegisterPrimOp primop_fetchGit({
- `shallow` (default: `false`)
A Boolean parameter that specifies whether fetching a shallow clone is allowed.
A Boolean parameter that specifies whether fetching from a shallow remote repository is allowed.
This still performs a full clone of what is available on the remote.
- `allRefs`