diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/checkout.c | 8 | ||||
-rw-r--r-- | src/clone.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/checkout.c b/src/checkout.c index 222eb26df..ef4ab8d11 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -387,8 +387,7 @@ cleanup: int git_checkout_tree( git_repository *repo, git_object *treeish, - git_checkout_opts *opts, - git_indexer_stats *stats) + git_checkout_opts *opts) { git_index *index = NULL; git_tree *tree = NULL; @@ -421,8 +420,7 @@ cleanup: int git_checkout_head( git_repository *repo, - git_checkout_opts *opts, - git_indexer_stats *stats) + git_checkout_opts *opts) { git_reference *head; int error; @@ -436,7 +434,7 @@ int git_checkout_head( if ((error = git_reference_peel(&tree, head, GIT_OBJ_TREE)) < 0) goto cleanup; - error = git_checkout_tree(repo, tree, opts, stats); + error = git_checkout_tree(repo, tree, opts); cleanup: git_reference_free(head); diff --git a/src/clone.c b/src/clone.c index 0039b146d..b84cd8dc9 100644 --- a/src/clone.c +++ b/src/clone.c @@ -333,7 +333,7 @@ static int clone_internal( } if (!retcode && should_checkout(repo, is_bare, checkout_opts)) - retcode = git_checkout_head(*out, checkout_opts, checkout_stats); + retcode = git_checkout_head(*out, checkout_opts); return retcode; } |