object: rename function 'typename' to 'type_name'
Rename C++ keyword in order to bring the codebase closer to being able to be compiled with a C++ compiler. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
6ca32f4714
commit
debca9d2fe
@ -499,7 +499,7 @@ static void show_one_mergetag(struct commit *commit,
|
||||
int status, nth;
|
||||
size_t payload_size, gpg_message_offset;
|
||||
|
||||
hash_sha1_file(extra->value, extra->len, typename(OBJ_TAG), oid.hash);
|
||||
hash_sha1_file(extra->value, extra->len, type_name(OBJ_TAG), oid.hash);
|
||||
tag = lookup_tag(&oid);
|
||||
if (!tag)
|
||||
return; /* error message already given */
|
||||
|
Reference in New Issue
Block a user