summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlmcglash <lmcglash@mathworks.com>2023-03-10 09:30:35 +0000
committerlmcglash <lmcglash@mathworks.com>2023-03-10 09:30:35 +0000
commite3bf6db55c5ca9e22ab08ebe3170252c8af775d7 (patch)
tree5af6b34cbcc74c3192995a1c25080a9b4b811dc3 /include
parentd935773743f8f0ed50027bfe3b66133174610cc9 (diff)
parent79ed94e0f86daae2d839f89789952f0e99eef32a (diff)
downloadlibgit2-e3bf6db55c5ca9e22ab08ebe3170252c8af775d7.tar.gz
Merge branch 'shallow-clone-network' of https://github.com/mathworks/libgit2 into shallow-clone-network
Diffstat (limited to 'include')
-rw-r--r--include/git2/remote.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index f1cee17aa..9e4043f87 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -744,9 +744,9 @@ typedef struct {
git_proxy_options proxy_opts;
/**
- * Depth of the fetch to perform, has to be a positive integer.
+ * Depth of the fetch to perform. Depth <= 0 fetches the full history.
*
- * The default is -1, which will fetch the full history.
+ * The default is -1.
*/
int depth;