summaryrefslogtreecommitdiff
path: root/builtin/cat-file.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-03-07 17:54:16 +0700
committerJunio C Hamano <gitster@pobox.com>2012-03-07 09:07:37 -0800
commitd41489a6424308dc9a0409bc2f6845aa08bd4f7d (patch)
tree601d9bcb5057d304b4ab50f5eddd730a4c44424a /builtin/cat-file.c
parent47a02ff2ca821c52268197dd5fa46cd60a2e94bc (diff)
downloadgit-d41489a6424308dc9a0409bc2f6845aa08bd4f7d.tar.gz
Add more large blob test cases
New test cases list commands that should work when memory is limited. All memory allocation functions (*) learn to reject any allocation larger than $GIT_ALLOC_LIMIT if set. (*) Not exactly all. Some places do not use x* functions, but malloc/calloc directly, notably diff-delta. These code path should never be run on large blobs. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/cat-file.c')
0 files changed, 0 insertions, 0 deletions