diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2020-08-17 13:23:07 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-08-17 11:41:50 -0700 |
| commit | 2ebe436c5531319e820571d04024f7bcae383450 (patch) | |
| tree | 77c19fba80e167ea961db2f69e9b40cc8e66d629 /builtin/diff-index.c | |
| parent | 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc (diff) | |
add -p: use ALLOC_GROW_BY instead of ALLOW_GROW
This simplifies the code slightly, especially the third case where
hunk_nr was incremented a few lines before ALLOC_GROW().
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-index.c')
0 files changed, 0 insertions, 0 deletions
