diff options
author | yuangli <yuangli@mathworks.com> | 2022-08-02 13:15:22 +0100 |
---|---|---|
committer | yuangli <yuangli@mathworks.com> | 2022-08-02 13:15:22 +0100 |
commit | 2d33fe78858354c508afb77d80f32a5a747b801e (patch) | |
tree | 1391d47cfcf0f5798ab8705841db47680858a342 /include | |
parent | e7294e870398d72b79a436b628170ffcaaa1713c (diff) | |
download | libgit2-2d33fe78858354c508afb77d80f32a5a747b801e.tar.gz |
refactor git_fetch_option.depth and usage
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/remote.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 33f5103ce..f3415d843 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -744,7 +744,9 @@ typedef struct { git_proxy_options proxy_opts; /** - * Depth of the fetch to perform + * Depth of the fetch to perform, has to be a positive integer. + * + * The default is -1, which will fetch the full history. */ int depth; |