refs: rename is_pseudoref()
to is_root_ref()
Rename `is_pseudoref()` to `is_root_ref()` to adapt to the newly defined terminology in our gitglossary(7). Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
74b50a5881
commit
f6936e62a5
@ -2756,7 +2756,7 @@ static int ref_kind_from_refname(const char *refname)
|
||||
return ref_kind[i].kind;
|
||||
}
|
||||
|
||||
if (is_pseudoref(get_main_ref_store(the_repository), refname))
|
||||
if (is_root_ref(get_main_ref_store(the_repository), refname))
|
||||
return FILTER_REFS_PSEUDOREFS;
|
||||
|
||||
return FILTER_REFS_OTHERS;
|
||||
|
Reference in New Issue
Block a user