diff options
Diffstat (limited to 'repository.h')
-rw-r--r-- | repository.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repository.h b/repository.h index e6e00f541b..f2646f0c52 100644 --- a/repository.h +++ b/repository.h @@ -100,6 +100,9 @@ extern void repo_set_gitdir(struct repository *repo, extern void repo_set_worktree(struct repository *repo, const char *path); extern void repo_set_hash_algo(struct repository *repo, int algo); extern void initialize_the_repository(void); +extern int repo_init(struct repository *r, + const char *gitdir, + const char *worktree); extern int repo_submodule_init(struct repository *submodule, struct repository *superproject, const char *path); |