refs: call branches branches

These things in refs/heads/ hierarchy are called "branches" in human
parlance.  Replace REF_HEADS with REF_BRANCHES to make it clearer.

No end-user visible change intended at this step.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2024-06-04 15:01:43 -07:00
parent 786a3e4b8d
commit a096e70c78
3 changed files with 5 additions and 5 deletions

View File

@ -200,7 +200,7 @@ struct ref {
};
#define REF_NORMAL (1u << 0)
#define REF_HEADS (1u << 1)
#define REF_BRANCHES (1u << 1)
#define REF_TAGS (1u << 2)
struct ref *find_ref_by_name(const struct ref *list, const char *name);