diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-07-26 18:06:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-26 11:13:44 -0700 |
commit | 6003303a1e5086a9f28f18469a8a72ad22f75c86 (patch) | |
tree | 3d99825c1f28b95c13a7ed79021d24e4a81bdf22 /upload-pack.c | |
parent | 75456f96d4bd201f815484e9d2ff2ae429305ab5 (diff) | |
download | git-6003303a1e5086a9f28f18469a8a72ad22f75c86.tar.gz |
merge-recursive: switch to returning errors instead of dying
The recursive merge machinery is supposed to be a library function, i.e.
it should return an error when it fails. Originally the functions were
part of the builtin "merge-recursive", though, where it was simpler to
call die() and be done with error handling.
The existing callers were already prepared to detect negative return
values to indicate errors and to behave as previously: exit with code 128
(which is the same thing that die() does, after printing the message).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions