]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: rename 'FILTER_REFS_ALL' to 'FILTER_REFS_REGULAR'
authorKarthik Nayak <karthik.188@gmail.com>
Fri, 23 Feb 2024 10:01:11 +0000 (11:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Feb 2024 18:36:27 +0000 (10:36 -0800)
commit810f7a1aace85ed9ffc454db6726c818c86685f0
tree188b5238fea00e620e7b594de66b8c03143e5342
parentd0f00c1ac17bf1e00c2721a90e2bbdb132b5ab6e
ref-filter: rename 'FILTER_REFS_ALL' to 'FILTER_REFS_REGULAR'

The flag 'FILTER_REFS_ALL' is a bit ambiguous, where ALL doesn't specify
if it means to contain refs from all worktrees or whether all types of
refs (regular, HEAD & pseudorefs) or all of the above.

Since here it is actually referring to all refs with the "refs/" prefix,
let's rename it to 'FILTER_REFS_REGULAR' to indicate that this is
specifically for regular refs.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c
ref-filter.c
ref-filter.h