]> git.ipfire.org Git - thirdparty/git.git/commitdiff
refs.h: HEAD is not that special
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Dec 2023 20:32:43 +0000 (12:32 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Dec 2023 22:08:28 +0000 (14:08 -0800)
In-code comment explains pseudorefs but used a wrong nomenclature
"special ref".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.h

diff --git a/refs.h b/refs.h
index 23211a5ea1cabbb0a35d091bf2b5dbbd87e28252..ff113bb12a2512c8f2caf9f0bd8e1e471490a5c0 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -56,7 +56,7 @@ struct worktree;
  * Even with RESOLVE_REF_ALLOW_BAD_NAME, names that escape the refs/
  * directory and do not consist of all caps and underscores cannot be
  * resolved. The function returns NULL for such ref names.
- * Caps and underscores refers to the special refs, such as HEAD,
+ * Caps and underscores refers to the pseudorefs, such as HEAD,
  * FETCH_HEAD and friends, that all live outside of the refs/ directory.
  */
 #define RESOLVE_REF_READING 0x01