aboutsummaryrefslogtreecommitdiffstats
path: root/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/refs.h b/refs.h
index 8a574a22c7..8489b45265 100644
--- a/refs.h
+++ b/refs.h
@@ -1060,7 +1060,8 @@ void update_ref_namespace(enum ref_namespace namespace, char *ref);
*
* - Their name must be all-uppercase or underscores ("_").
*
- * - Their name must end with "_HEAD".
+ * - Their name must end with "_HEAD". As a special rule, "HEAD" is a root
+ * ref, as well.
*
* - Their name may not contain a slash.
*
@@ -1079,6 +1080,4 @@ void update_ref_namespace(enum ref_namespace namespace, char *ref);
*/
int is_root_ref(const char *refname);
-int is_headref(struct ref_store *refs, const char *refname);
-
#endif /* REFS_H */