diff options
| author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-05 07:45:11 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2020-03-26 22:12:58 +0100 |
| commit | 9f2732ccd07ce2f7d55b487f34a80e19ca05df35 (patch) | |
| tree | c8f1c2339509b28c3641120cf3114f06b9f95195 | |
| parent | c32f5b0073a9db223aa48ae9769e2231c75fbcc5 (diff) | |
| download | libgit2-9f2732ccd07ce2f7d55b487f34a80e19ca05df35.tar.gz | |
fix a bug introduced in 8a23597b
| -rw-r--r-- | src/diff_generate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_generate.c b/src/diff_generate.c index c73ba0dcb..b81e35f5f 100644 --- a/src/diff_generate.c +++ b/src/diff_generate.c @@ -1371,7 +1371,7 @@ int git_diff_tree_to_index( if ((error = diff_prepare_iterator_opts(&prefix, &a_opts, iflag, &b_opts, iflag, opts)) < 0 || (error = git_iterator_for_tree(&a, old_tree, &a_opts)) < 0 || (error = git_iterator_for_index(&b, repo, index, &b_opts)) < 0 || - (error = git_diff__from_iterators(&diff, repo, a, b, opts) < 0)) + (error = git_diff__from_iterators(&diff, repo, a, b, opts)) < 0) goto out; /* if index is in case-insensitive order, re-sort deltas to match */ |
