aboutsummaryrefslogtreecommitdiffstats
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-06-20 15:45:16 -0700
committerJunio C Hamano <gitster@pobox.com>2024-06-20 15:45:17 -0700
commit892fd8b89fc62e2b400d7165700e67343f7a1c92 (patch)
tree3bb7bcc15ef51a5833f7afd348a34194b1a1d497 /remote.h
parent166cdd8915a957f0fb5a2bbca3075489e8e3a754 (diff)
parent607c3d372ef89cf16874c288c60423587286d182 (diff)
downloadgit-892fd8b89fc62e2b400d7165700e67343f7a1c92.tar.gz
Merge branch 'jc/heads-are-branches'
The "--heads" option of "ls-remote" and "show-ref" has been been deprecated; "--branches" replaces "--heads". * jc/heads-are-branches: show-ref: introduce --branches and deprecate --heads ls-remote: introduce --branches and deprecate --heads refs: call branches branches
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index e8c6655e42..b5f10187a9 100644
--- a/remote.h
+++ b/remote.h
@@ -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);