Skip to content

Commit 8cddf74

Browse files
authored
Merge pull request #2148 from fluxcd/backport-2147-to-release/v1.9.x
[release/v1.9.x] docs: correct the shallow clone claim for commit plus branch
2 parents 53194ad + 1e29e4a commit 8cddf74

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/spec/v1/gitrepositories.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,9 @@ spec:
607607
```
608608

609609
This field takes precedence over all other fields. It can be combined with
610-
`.spec.ref.branch` to perform a shallow clone of the branch, in which the
611-
commit must exist:
610+
`.spec.ref.branch` to restrict the clone to a single branch, in which the
611+
commit must exist. Note that this is not a shallow clone: the commit is
612+
fetched with the full history of that branch.
612613

613614
```yaml
614615
---

0 commit comments

Comments
 (0)