Files
git/builtin
Johannes Schindelin 3f338f43b0 am -3: use merge_recursive() directly again
Last October, we had to change this code to run `git merge-recursive`
in a child process: git-am wants to print some helpful advice when the
merge failed, but the code in question was not prepared to return, it
die()d instead.

We are finally at a point when the code *is* prepared to return errors,
and can avoid the child process again.

This reverts commit c63d4b2 (am -3: do not let failed merge from
completing the error codepath, 2015-10-09), with the necessary changes
to adjust for the fact that Git's source code changed in the meantime
(such as: using OIDs instead of hashes in the recursive merge, and a
removed gender bias).

Note: the code now calls merge_recursive_generic() again. Unlike
merge_trees() and merge_recursive(), this function returns 0 upon success,
as most of Git's functions. Therefore, the error value -1 naturally is
handled correctly, and we do not have to take care of it specifically.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-07-26 11:13:44 -07:00
..
2016-06-07 17:43:39 -07:00
2016-07-13 11:24:10 -07:00
2016-07-25 14:13:45 -07:00
2016-07-25 14:13:32 -07:00
2016-02-26 13:37:16 -08:00
2015-11-20 08:02:05 -05:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:12 -07:00
2016-07-13 11:24:18 -07:00
2016-05-09 12:29:08 -07:00
2016-06-17 15:46:10 -07:00
2016-07-19 13:22:15 -07:00
2015-10-21 15:59:34 -07:00
2016-02-26 13:37:16 -08:00
2016-07-13 11:24:10 -07:00
2016-02-26 13:37:25 -08:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-07-19 13:22:16 -07:00
2016-07-25 14:13:36 -07:00
2016-04-29 12:59:09 -07:00