diff options
| author | Taylor Blau <me@ttaylorr.com> | 2022-09-19 21:55:50 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-09-21 10:21:46 -0700 |
| commit | cb6c48cbbc7e196739b42c16c84fa320cc82b5c4 (patch) | |
| tree | 1ad65c9e7389ce3e6901e937b60506f2bcceb92d /gitweb/static/js/javascript-detection.js | |
| parent | midx.c: avoid cruft packs with `repack --batch-size=0` (diff) | |
| download | git-cb6c48cbbc7e196739b42c16c84fa320cc82b5c4.tar.gz git-cb6c48cbbc7e196739b42c16c84fa320cc82b5c4.zip | |
midx.c: replace `xcalloc()` with `CALLOC_ARRAY()`
Replace a direct invocation of Git's `xcalloc()` wrapper with the
`CALLOC_ARRAY()` macro instead.
The latter is preferred since it is more conventional in Git's codebase,
but also because it automatically picks the correct value for the record
size.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions
