summaryrefslogtreecommitdiffstats
path: root/core/git-access.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-22 07:00:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-27 15:05:37 -0700
commit9ba090c31fd87bdec71c4e14cae3d71c4bb07eac (patch)
treeb2ef19dfac1d60060541b0b3c91db3f9fea3a8ba /core/git-access.h
parentd6b36c47cb2810921ae638a9237310052d9920ef (diff)
downloadsubsurface-9ba090c31fd87bdec71c4e14cae3d71c4bb07eac.tar.gz
git storage: init local repository
So far we didn't do that at all, we either relied on the user manually creating a local repo, or we cloned a remote repo. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/git-access.h')
-rw-r--r--core/git-access.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/git-access.h b/core/git-access.h
index f098f1e8d..b8b8181fe 100644
--- a/core/git-access.h
+++ b/core/git-access.h
@@ -27,6 +27,7 @@ extern void set_git_id(const struct git_oid *);
void set_git_update_cb(int(*)(bool, const char *));
int git_storage_update_progress(bool reset, const char *text);
char *get_local_dir(const char *remote, const char *branch);
+int git_create_local_repo(const char *filename);
extern int last_git_storage_update_val;