diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-14 12:44:52 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-14 12:44:52 +0100 |
commit | 8977658519835805af5327e51f5a84354417839d (patch) | |
tree | e8dba4b17059f3516e7ac6910381a292b8080dc2 /src/commit.c | |
parent | b85929c523d7e61ba76715199831ec05089dc844 (diff) | |
download | libgit2-cmn/tree-updater-ordering.tar.gz |
tree: look for conflicts in the new tree when updatingcmn/tree-updater-ordering
We look at whether we're trying to replace a blob with a tree during the
update phase, but we fail to look at whether we've just inserted a blob
where we're now trying to insert a tree.
Update the check to look at both places. The test for this was
previously succeeding due to the bu where we did not look at the sorted
output.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions