diff options
author | DavHau <hsngrmpf+github@gmail.com> | 2023-11-19 20:32:23 +0700 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-20 14:16:03 +0000 |
commit | 23775b736432187a6ff5e2d81228855dd6af4be4 (patch) | |
tree | 2734b659fa86566b8e112b6c742d78d00c7a08ef /src/libexpr/primops | |
parent | 8e72a529da9452b55369f51bb7627b4faa7e104c (diff) |
fetchTree: clarify docs for shallow flag
(cherry picked from commit 796a7eb92d2b0caf75685126adc7460a4c39cfec)
Diffstat (limited to 'src/libexpr/primops')
-rw-r--r-- | src/libexpr/primops/fetchTree.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc index f040a3510..d108d7d50 100644 --- a/src/libexpr/primops/fetchTree.cc +++ b/src/libexpr/primops/fetchTree.cc @@ -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` |