Prefer git__str(case)cmp to avoid cdecl