aboutsummaryrefslogtreecommitdiffstats
path: root/core/git-access.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 22:54:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 23:39:54 -0700
commit922c945f5a5199fb27f9b68272157a238d2c371e (patch)
tree33edf05a84e345454b8d59adc7a0aae29e51c8e8 /core/git-access.h
parent3555cadb77ca25fcf4883a5f1506e83222d6b29d (diff)
downloadsubsurface-922c945f5a5199fb27f9b68272157a238d2c371e.tar.gz
QML UI: more hacking around with git progress reporting
I gave up on the magic numbers and instead report simply linear progress. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/git-access.h')
-rw-r--r--core/git-access.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/git-access.h b/core/git-access.h
index 6dbc22488..f098f1e8d 100644
--- a/core/git-access.h
+++ b/core/git-access.h
@@ -24,8 +24,8 @@ 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 (*)(int, const char *));
-int git_storage_update_progress(int percent, const char *text);
+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);
extern int last_git_storage_update_val;