1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-10 16:56:43 +02:00
git/refs
SZEDER Gábor f919ffebed Use MOVE_ARRAY
Use the helper macro MOVE_ARRAY to move arrays.  This is shorter and
safer, as it automatically infers the size of elements.

Patch generated by Coccinelle and contrib/coccinelle/array.cocci in
Travis CI's static analysis build job.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-01-22 11:32:51 -08:00
..
files-backend.c Merge branch 'mh/tidy-ref-update-flags' 2017-11-15 12:14:29 +09:00
iterator.c prefix_ref_iterator: break when we leave the prefix 2017-09-14 15:19:07 +09:00
packed-backend.c Merge branch 'mh/tidy-ref-update-flags' 2017-11-15 12:14:29 +09:00
packed-backend.h files-backend: don't rewrite the `packed-refs` file unnecessarily 2017-10-30 09:45:15 +09:00
ref-cache.c Use MOVE_ARRAY 2018-01-22 11:32:51 -08:00
ref-cache.h ref_cache: remove support for storing peeled values 2017-09-25 18:02:46 +09:00
refs-internal.h refs: update some more docs to use "oid" rather than "sha1" 2017-11-06 10:31:08 +09:00