diff options
author | René Scharfe <l.s.r@web.de> | 2023-01-01 22:08:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-01-09 13:28:36 +0900 |
commit | 1891846fa4d439be7f9a1a32c062f62cd863df2b (patch) | |
tree | a7baeaf608447edec019f9a7dea2e7d5d6dba0b3 /commit-reach.c | |
parent | 09884f352eb36cf2579d819595e9b7e1656a28b6 (diff) |
factor out BARF_UNLESS_COPYABLE
Move the common basic element type check of COPY_ARRAY and MOVE_ARRAY to
a new macro. This reduces code duplication and simplifies adding more
elaborate checks.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions