You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/src/reference/unstable.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1373,6 +1373,7 @@ Valid operations are the following:
1373
1373
1374
1374
*`shallow-index` - perform a shallow clone of the index.
1375
1375
*`shallow-deps` - perform a shallow clone of git dependencies.
1376
+
*`sha256` - allow SHA256 git repositories
1376
1377
1377
1378
**Details on shallow clones**
1378
1379
@@ -1384,6 +1385,11 @@ Valid operations are the following:
1384
1385
* 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.
1385
1386
* 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.
1386
1387
1388
+
**Details on SHA256 git repositories**
1389
+
1390
+
* To enable SHA256 git repositories, add `-Zgit=sha256`.
1391
+
* SHA256 git repositories are only supported when using libgit2.
0 commit comments