summaryrefslogtreecommitdiffstats
path: root/subsurface-core/git-access.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/git-access.h')
-rw-r--r--subsurface-core/git-access.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/git-access.h b/subsurface-core/git-access.h
index a2a9ba3ae..7e57351fb 100644
--- a/subsurface-core/git-access.h
+++ b/subsurface-core/git-access.h
@@ -18,6 +18,7 @@ extern struct git_repository *is_git_repository(const char *filename, const char
extern int sync_with_remote(struct git_repository *repo, const char *remote, const char *branch, enum remote_transport rt);
extern int git_save_dives(struct git_repository *, const char *, const char *remote, bool select_only);
extern int git_load_dives(struct git_repository *, const char *);
+extern const char *get_sha(git_repository *repo, const char *branch);
extern int do_git_save(git_repository *repo, const char *branch, const char *remote, bool select_only, bool create_empty);
extern const char *saved_git_id;
extern void clear_git_id(void);