summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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