diff options
| author | Ben Straub <bstraub@github.com> | 2012-07-30 14:52:46 -0700 |
|---|---|---|
| committer | Ben Straub <bstraub@github.com> | 2012-07-30 15:48:06 -0700 |
| commit | 4bf5115642b64851f9a32a8157010b588bf44103 (patch) | |
| tree | 3b6096c0f39feacd11c40ceb1a38c68b7c2b844a /src/checkout.c | |
| parent | 84595a30c01d5808ff71fda8ab63603214d665bf (diff) | |
| download | libgit2-4bf5115642b64851f9a32a8157010b588bf44103.tar.gz | |
Enable stats on git_index_read_tree.
Replace with the contents of
git_index_read_tree_with_stats() and improve
documentation comments.
Diffstat (limited to 'src/checkout.c')
| -rw-r--r-- | src/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c index 3eed002ec..87116ba19 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -191,7 +191,7 @@ int git_checkout_head(git_repository *repo, git_checkout_opts *opts, git_indexer if (!git_repository_head_tree(&tree, repo)) { git_index *idx; if (!(retcode = git_repository_index(&idx, repo))) { - if (!(retcode = git_index_read_tree_with_stats(idx, tree, stats))) { + if (!(retcode = git_index_read_tree(idx, tree, stats))) { retcode = git_tree_walk(tree, checkout_walker, GIT_TREEWALK_POST, &payload); } git_index_free(idx); |
