Skip to content

Commit 9f428df

Browse files
address review comments
1 parent 9b5b174 commit 9f428df

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/libexpr/primops/fetchTree.cc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ static RegisterPrimOp primop_fetchTree({
333333
334334
- `shallow` (Bool, optional)
335335
336-
Allow fetching from a shallow remote repository.
337-
This still performs a full clone of what is available on the remote.
336+
Make a shallow clone when fetching the Git tree.
338337
339338
Default: `false`
340339
@@ -361,9 +360,7 @@ static RegisterPrimOp primop_fetchTree({
361360
- `revCount` (Integer, optional)
362361
363362
Number of revisions in the history of the Git repository before the fetched commit.
364-
365363
If set, pass through the value to the output attribute set.
366-
The provided value will be checked against the one obtained from the repository, and an error is thrown if there is a mismatch.
367364
368365
Otherwise, generated from the fetched Git tree.
369366
@@ -617,8 +614,7 @@ static RegisterPrimOp primop_fetchGit({
617614
618615
- `shallow` (default: `false`)
619616
620-
A Boolean parameter that specifies whether fetching from a shallow remote repository is allowed.
621-
This still performs a full clone of what is available on the remote.
617+
Make a shallow clone when fetching the Git tree.
622618
623619
- `allRefs`
624620

0 commit comments

Comments
 (0)