From: Junio C Hamano <hidden> Date: 2016-06-15 22:44:14
"Shawn O. Pearce" [off-list ref] writes:
BTW, why does this return const char* from typename(type) instead
of just returning the enum object_type and letting the caller do
typename() if they want it? Most of our other code that returns
types returns the enum, not the string. :-\
It just was not converted from the old string interface. I
thought you are old enough to remember ;-)