Re: [PATCH v3 1/6] wrapper.c: introduce gentle xmalloc(z) that does not die()

2014-08-14 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- I think the basic idea is sound. "git grep -e _gentle -e _gently -e _gentler" hints me that the new functions are somewhat misnamed, though. > git-compat-util.h | 2 ++ > wrapper.c | 73 >

[PATCH v3 1/6] wrapper.c: introduce gentle xmalloc(z) that does not die()

2014-08-13 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- git-compat-util.h | 2 ++ wrapper.c | 73 +++ 2 files changed, 59 insertions(+), 16 deletions(-) diff --git a/git-compat-util.h b/git-compat-util.h index f587749..0e541e7 100644 --- a/git-compat-