diff options
author | Ben Straub <bs@github.com> | 2012-10-19 20:05:18 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-19 20:05:18 -0700 |
commit | 9c05c17b7ac7caf7691a9056994bda735ea31c81 (patch) | |
tree | ca7703823b06e0d33d3419b896f3836abc92ad1a /include/git2/checkout.h | |
parent | cd001bbbfe75a366d9658849cf6c5931440c0c01 (diff) | |
download | libgit2-9c05c17b7ac7caf7691a9056994bda735ea31c81.tar.gz |
Checkout progress now reports completed/total steps
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r-- | include/git2/checkout.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index 9032c6b2c..390d2f215 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -70,7 +70,8 @@ typedef struct git_checkout_opts { /* Optional callback to notify the consumer of checkout progress. */ void (* progress_cb)( const char *path, - float progress, + size_t completed_steps, + size_t total_steps, void *payload); void *progress_payload; |