summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-19 20:05:18 -0700
committerBen Straub <bs@github.com>2012-10-19 20:05:18 -0700
commit9c05c17b7ac7caf7691a9056994bda735ea31c81 (patch)
treeca7703823b06e0d33d3419b896f3836abc92ad1a /include/git2/checkout.h
parentcd001bbbfe75a366d9658849cf6c5931440c0c01 (diff)
downloadlibgit2-9c05c17b7ac7caf7691a9056994bda735ea31c81.tar.gz
Checkout progress now reports completed/total steps
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r--include/git2/checkout.h3
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;