aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorDavHau <hsngrmpf+github@gmail.com>2023-11-19 20:32:23 +0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-20 14:16:03 +0000
commit23775b736432187a6ff5e2d81228855dd6af4be4 (patch)
tree2734b659fa86566b8e112b6c742d78d00c7a08ef /src/libexpr
parent8e72a529da9452b55369f51bb7627b4faa7e104c (diff)
fetchTree: clarify docs for shallow flag
(cherry picked from commit 796a7eb92d2b0caf75685126adc7460a4c39cfec)
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops/fetchTree.cc3
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`