Skip to content

Commit 426b9e3

Browse files
committed
Update docs with tracking issue and note about consecutive fetches
1 parent 5eb2899 commit 426b9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/reference/unstable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ Valid operations are the following:
11641164

11651165
## git
11661166

1167-
* Tracking Issue: [TODO](https://github.com/rust-lang/cargo/issues/TODO)
1167+
* Tracking Issue: [#13285](https://github.com/rust-lang/cargo/issues/13285)
11681168

11691169
With the 'git' unstable feature, both `gitoxide` and `git2` will perform shallow fetches of the crate
11701170
index and git dependencies.
@@ -1185,7 +1185,7 @@ Valid operations are the following:
11851185
- `~/.cargo/git/db/*-shallow`
11861186
- `~/.cargo/git/checkouts/*-shallow`
11871187
* When the unstable feature is on, fetching/cloning a git repository is always a shallow fetch. This roughly equals to `git fetch --depth 1` everywhere.
1188-
* Even with the presence of `Cargo.lock` or specifying a commit `{ rev = "…" }`, gitoxide is still smart enough to shallow fetch without unshallowing the existing repository. TODO: does this hold for libgit2?
1188+
* Even with the presence of `Cargo.lock` or specifying a commit `{ rev = "…" }`, gitoxide and libgit2 are still smart enough to shallow fetch without unshallowing the existing repository.
11891189

11901190
## script
11911191

0 commit comments

Comments
 (0)