]> git.ipfire.org Git - thirdparty/git.git/commit
ref-filter: properly distinuish pseudo and root refs
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:51:05 +0000 (08:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:30:52 +0000 (07:30 -0700)
commitf1701f279a3678e95daa5c093b8d30e815c1701b
treea70bd4fe6291bf742ca7c909e40c7f84e00d358c
parent993d57ededa2238e7526ccdb05b39b0265053f37
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>
builtin/for-each-ref.c
ref-filter.c
ref-filter.h
refs.c
refs.h