Re: [PATCH] receive-pack: use FLEX_ALLOC_MEM in queue_command()

2016-08-14 Thread Jeff King
On Sat, Aug 13, 2016 at 05:38:56PM +0200, René Scharfe wrote: > Use the macro FLEX_ALLOC_MEM instead of open-coding it. This shortens > and simplifies the code a bit. Thanks, looks good (I obviously missed a few opportunities for conversion during the initial introduction of FLEX_ALLOC simply

[PATCH] receive-pack: use FLEX_ALLOC_MEM in queue_command()

2016-08-13 Thread René Scharfe
Use the macro FLEX_ALLOC_MEM instead of open-coding it. This shortens and simplifies the code a bit. Signed-off-by: Rene Scharfe --- builtin/receive-pack.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c index