diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:01:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:07:08 -0700 |
| commit | a096e70c78353e338975b880b7468b79b819f291 (patch) | |
| tree | af88acff7ca47aded7de9728806aa703a536f411 /connect.c | |
| parent | 786a3e4b8d754d2b14b1208b98eeb0a554ef19a8 (diff) | |
| download | git-a096e70c78353e338975b880b7468b79b819f291.tar.gz | |
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>
Diffstat (limited to 'connect.c')
| -rw-r--r-- | connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,8 +38,8 @@ static int check_ref(const char *name, unsigned int flags) REFNAME_ALLOW_ONELEVEL)) return 0; - /* REF_HEADS means that we want regular branch heads */ - if ((flags & REF_HEADS) && starts_with(name, "heads/")) + /* REF_BRANCHES means that we want regular branch heads */ + if ((flags & REF_BRANCHES) && starts_with(name, "heads/")) return 1; /* REF_TAGS means that we want tags */ |
