summaryrefslogtreecommitdiff
path: root/t/helper/test-date.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-11-01 09:49:12 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-11-01 10:58:39 -0700
commitc2bb0c1d1e957ec1418fa6013c8c1e3e0ef38afa (patch)
treef6201ed5c489f861fed444efda548a6cb6d6daa9 /t/helper/test-date.c
parentGit 2.10.2 (diff)
downloadtgif-c2bb0c1d1e957ec1418fa6013c8c1e3e0ef38afa.tar.xz
cocci: avoid self-references in object_id transformations
The object_id functions oid_to_hex, oid_to_hex_r, oidclr, oidcmp, and oidcpy are defined as wrappers of their legacy counterparts sha1_to_hex, sha1_to_hex_r, hashclr, hashcmp, and hashcpy, respectively. Make sure that the Coccinelle transformations for converting legacy function calls are not applied to these wrappers themselves, which would result in tautological declarations. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-date.c')
0 files changed, 0 insertions, 0 deletions