summaryrefslogtreecommitdiff
path: root/include/git2/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r--include/git2/repository.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 74ab65bf7..28d8400f2 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -299,10 +299,12 @@ GIT_EXTERN(int) git_repository_init_ext(
* properties to compensate for the current filesystem of the repo.
*
* @param repo A repository object
+ * @param recurse_submodules Should submodules be reset recursively
* @returrn 0 on success, < 0 on error
*/
GIT_EXTERN(int) git_repository_reset_filesystem(
- git_repository *repo);
+ git_repository *repo,
+ int recurse_submodules);
/**
* Retrieve and resolve the reference pointed at by HEAD.