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
@ -49,7 +49,7 @@ static int verify_commit(const char *name, unsigned flags)
|
||||
return error("%s: unable to read file.", name);
|
||||
if (type != OBJ_COMMIT)
|
||||
return error("%s: cannot verify a non-commit object of type %s.",
|
||||
name, typename(type));
|
||||
name, type_name(type));
|
||||
|
||||
ret = run_gpg_verify(&oid, buf, size, flags);
|
||||
|
||||
|
Reference in New Issue
Block a user