summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryuangli <yuangli@mathworks.com>2022-08-11 09:32:28 +0100
committeryuangli <yuangli@mathworks.com>2022-08-11 09:32:28 +0100
commit49e641be8c5549f6f5731d6d72e9e6902e71d0e1 (patch)
treec337d5838c10e8e9a2f4b5aebe8d969a84f798ab /include
parentdf5eb3239b1419b3f4382d7bcca9a5d85611d7d3 (diff)
downloadlibgit2-49e641be8c5549f6f5731d6d72e9e6902e71d0e1.tar.gz
remove unused api
Diffstat (limited to 'include')
-rw-r--r--include/git2/remote.h2
-rw-r--r--include/git2/repository.h11
2 files changed, 1 insertions, 12 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 240e5aa4e..f1cee17aa 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -751,7 +751,7 @@ typedef struct {
int depth;
/**
- * Unshallow flag of the fetch to perform.
+ * Convert a shallow repository to a full repository.
*
* The default is 0, which means the flag is off.
*/
diff --git a/include/git2/repository.h b/include/git2/repository.h
index d6b054dc3..258b9ac00 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -924,17 +924,6 @@ GIT_EXTERN(const char *) git_repository_get_namespace(git_repository *repo);
GIT_EXTERN(int) git_repository_is_shallow(git_repository *repo);
/**
- * Determine the shallow roots of the repository
- *
- * This oidarray is owned by the library. Do not free it.
- *
- * @param out An array of shallow oids.
- * @param repo The repository
- * @return 0 on success, an error otherwise.
- */
-GIT_EXTERN(int) git_repository_shallow_roots(git_oidarray *out, git_repository *repo);
-
-/**
* Retrieve the configured identity to use for reflogs
*
* The memory is owned by the repository and must not be freed by the