mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3555cadb77
commit
922c945f5a
6 changed files with 66 additions and 71 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue