pub unsafe extern "C" fn git_repository_set_head(
    repo: *mut git_repository,
    refname: *const c_char
) -> c_int