diff options
author | Russell Belfer <rb@github.com> | 2013-10-12 01:51:54 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-10-12 01:51:54 +0400 |
commit | 3ff1d123736e5686fb9ec16e65828d5b8ffa2b30 (patch) | |
tree | 05c6baebe50c590008f91cf7d56732f52ca8ef66 /src/reset.c | |
parent | 743531372a00e41246026910e2361684e2aad59f (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.c | 4 |
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; } |