summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/remote.h')
-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;