diff options
author | Ben Straub <bs@github.com> | 2012-11-30 03:05:04 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-12-01 01:12:14 +0400 |
commit | 2f8d30becb4801d869188d2d46ca1512843e8698 (patch) | |
tree | 603ee4d64529de316e1c83914705e83d46b38cad /src/stash.c | |
parent | 691776213947e59a3928aab09e97a64b65e990ab (diff) |
Deploy GIT_DIFF_OPTIONS_INIT
Diffstat (limited to 'src/stash.c')
-rw-r--r-- | src/stash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stash.c b/src/stash.c index edd8c55db..261d3b199 100644 --- a/src/stash.c +++ b/src/stash.c @@ -229,7 +229,7 @@ static int build_untracked_tree( { git_tree *i_tree = NULL; git_diff_list *diff = NULL; - git_diff_options opts = {0}; + git_diff_options opts = GIT_DIFF_OPTIONS_INIT; struct cb_data data = {0}; int error = -1; @@ -315,7 +315,7 @@ static int build_workdir_tree( git_repository *repo = git_index_owner(index); git_tree *b_tree = NULL; git_diff_list *diff = NULL, *diff2 = NULL; - git_diff_options opts = {0}; + git_diff_options opts = GIT_DIFF_OPTIONS_INIT; struct cb_data data = {0}; int error = -1; |