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
@@ -1374,6 +1374,7 @@ Valid operations are the following:
1374
1374
1375
1375
*`shallow-index` - perform a shallow clone of the index.
1376
1376
*`shallow-deps` - perform a shallow clone of git dependencies.
1377
+
*`sha256` - allow SHA256 git repositories
1377
1378
1378
1379
**Details on shallow clones**
1379
1380
@@ -1385,6 +1386,11 @@ Valid operations are the following:
1385
1386
* 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.
1386
1387
* 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.
1387
1388
1389
+
**Details on SHA256 git repositories**
1390
+
1391
+
* To enable SHA256 git repositories, add `-Zgit=sha256`.
1392
+
* SHA256 git repositories are only supported when using libgit2.
0 commit comments