Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-17 07:16:21 +0400
committerBen Straub <bs@github.com>2012-10-20 06:34:15 +0400
commit2c8bbb27d91ec35162522079d632608fcaac2a57 (patch)
treea866bf4d5b75b641e2067d298a1422ed2538f11c /src/reset.c
parentd57c47dc07044b4fd3f5e9d57615329692823111 (diff)
Convert checkout_index to use progress callback
Diffstat (limited to 'src/reset.c')
-rw-r--r--src/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reset.c b/src/reset.c
index dfa095be4..3fcad7f46 100644
--- a/src/reset.c
+++ b/src/reset.c
@@ -94,7 +94,7 @@ int git_reset(
| GIT_CHECKOUT_OVERWRITE_MODIFIED
| GIT_CHECKOUT_REMOVE_UNTRACKED;
- if (git_checkout_index(repo, &opts, NULL) < 0) {
+ if (git_checkout_index(repo, &opts) < 0) {
giterr_set(GITERR_INDEX, "%s - Failed to checkout the index.", ERROR_MSG);
goto cleanup;
}