]> git.99rst.org Git - git.git/commit
xdiff: handle allocation failure in patience diff
authorPhillip Wood <redacted>
Wed, 16 Feb 2022 10:15:07 +0000 (10:15 +0000)
committerJunio C Hamano <redacted>
Wed, 16 Feb 2022 18:58:13 +0000 (10:58 -0800)
commit61f883965f79308b849a55936bee69a33c476c5c
tree2c51b839885db9cd6ef8e4127b920b2abbc01476
parent9df0fc3d578acfdeb7fa1914fcf0507adb021fa5
xdiff: handle allocation failure in patience diff

Other users of libxdiff such as libgit2 need to be able to handle
allocation failures. As NULL is a valid return value the function
signature is changed to be able report allocation failures.

Signed-off-by: Phillip Wood <redacted>
Signed-off-by: Junio C Hamano <redacted>
xdiff/xpatience.c
git clone https://git.99rst.org/PROJECT