summaryrefslogtreecommitdiffstats
path: root/subsurface-core/git-access.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-03 18:13:22 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 14:17:45 -0700
commiteea1ff6a83a318d7749110baa81c249a6faea8ef (patch)
tree05867047169d211f85815b3ecb577d74c08c99b6 /subsurface-core/git-access.h
parent8b710f4d6cde00bf598031fafa9e3f1d8c2708a5 (diff)
downloadsubsurface-eea1ff6a83a318d7749110baa81c249a6faea8ef.tar.gz
Change the git progress update callback signature
This way we can include additional text. This will be used in later patches. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/git-access.h')
-rw-r--r--subsurface-core/git-access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/git-access.h b/subsurface-core/git-access.h
index 7e57351fb..272ec116e 100644
--- a/subsurface-core/git-access.h
+++ b/subsurface-core/git-access.h
@@ -23,7 +23,7 @@ extern int do_git_save(git_repository *repo, const char *branch, const char *rem
extern const char *saved_git_id;
extern void clear_git_id(void);
extern void set_git_id(const struct git_oid *);
-void set_git_update_cb(int(*cb)(int));
+void set_git_update_cb(int (*)(int, const char *));
char *get_local_dir(const char *remote, const char *branch);
#ifdef __cplusplus
}