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:
authorRussell Belfer <rb@github.com>2013-10-12 01:51:54 +0400
committerRussell Belfer <rb@github.com>2013-10-12 01:51:54 +0400
commit3ff1d123736e5686fb9ec16e65828d5b8ffa2b30 (patch)
tree05c6baebe50c590008f91cf7d56732f52ca8ef66 /src/reset.c
parent743531372a00e41246026910e2361684e2aad59f (diff)
Rename diff objects and split patch.h
This makes no functional change to diff but renames a couple of the objects and splits the new git_patch (formerly git_diff_patch) into a new header file.
Diffstat (limited to 'src/reset.c')
-rw-r--r--src/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reset.c b/src/reset.c
index cea212a93..3fd4b9165 100644
--- a/src/reset.c
+++ b/src/reset.c
@@ -24,7 +24,7 @@ int git_reset_default(
{
git_object *commit = NULL;
git_tree *tree = NULL;
- git_diff_list *diff = NULL;
+ git_diff *diff = NULL;
git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
size_t i;
git_diff_delta *delta;
@@ -85,7 +85,7 @@ cleanup:
git_object_free(commit);
git_tree_free(tree);
git_index_free(index);
- git_diff_list_free(diff);
+ git_diff_free(diff);
return error;
}