diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-12-06 19:53:34 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-07 15:44:31 -0800 |
commit | 0afd307ab403404f7cf775fc5042f527e8289980 (patch) | |
tree | d806f69a0cbfcbd6aef08d610317dbd7673784c8 /quote.c | |
parent | 0202c411edc25940cc381bf317badcdf67670be4 (diff) | |
download | git-0afd307ab403404f7cf775fc5042f527e8289980.tar.gz git-0afd307ab403404f7cf775fc5042f527e8289980.tar.xz |
shallow.c: rename fields in paint_info to better express their purposes
paint_alloc() is basically malloc(), tuned for allocating a fixed number
of bits on every call without worrying about freeing any individual
allocation since all will be freed at the end. It does it by allocating
a big block of memory every time it runs out of "free memory". "slab" is
a poor choice of name, at least poorer than "pool".
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions