diff options
| author | Elijah Newren <newren@gmail.com> | 2020-12-13 08:04:12 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-12-13 14:18:19 -0800 |
| commit | 0c0d705b5cba39c70b01b8b21e2c4d3ca014daf3 (patch) | |
| tree | 78c6520da3daf05273074fb144b4de1c17819515 /builtin/commit.c | |
| parent | merge-ort: use histogram diff (diff) | |
| download | git-0c0d705b5cba39c70b01b8b21e2c4d3ca014daf3.tar.gz git-0c0d705b5cba39c70b01b8b21e2c4d3ca014daf3.zip | |
merge-ort: add an err() function similar to one from merge-recursive
Various places in merge-recursive used an err() function when it hit
some kind of unrecoverable error. That code was from the reusable bits
of merge-recursive.c that we liked, such as merge_3way, writing object
files to the object store, reading blobs from the object store, etc. So
create a similar function to allow us to port that code over, and use it
for when we detect problems returned from collect_merge_info()'s
traverse_trees() call, which we will be adding next.
While we are at it, also add more documentation for the "clean" field
from struct merge_result, particularly since the name suggests a boolean
but it is not quite one and this is our first non-boolean usage.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
