ref-filter: properly distinuish pseudo and root refs
The ref-filter interfaces currently define root refs as either a detached HEAD or a pseudo ref. Pseudo refs aren't root refs though, so let's properly distinguish those ref types. 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
993d57eded
commit
f1701f279a
@ -23,9 +23,9 @@
|
||||
FILTER_REFS_REMOTES | FILTER_REFS_OTHERS)
|
||||
#define FILTER_REFS_DETACHED_HEAD 0x0020
|
||||
#define FILTER_REFS_PSEUDOREFS 0x0040
|
||||
#define FILTER_REFS_ROOT_REFS (FILTER_REFS_DETACHED_HEAD | FILTER_REFS_PSEUDOREFS)
|
||||
#define FILTER_REFS_ROOT_REFS 0x0080
|
||||
#define FILTER_REFS_KIND_MASK (FILTER_REFS_REGULAR | FILTER_REFS_DETACHED_HEAD | \
|
||||
FILTER_REFS_PSEUDOREFS)
|
||||
FILTER_REFS_PSEUDOREFS | FILTER_REFS_ROOT_REFS)
|
||||
|
||||
struct atom_value;
|
||||
struct ref_sorting;
|
||||
|
Reference in New Issue
Block a user