aboutsummaryrefslogtreecommitdiffstats
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-12-15 12:32:43 -0800
committerJunio C Hamano <gitster@pobox.com>2023-12-15 14:08:28 -0800
commit7122f4f7479c59da4230a1a3a129fc618cb01eee (patch)
tree5c629d40ed1c7903dc21643e3deaa483cf26a650 /refs.h
parent2047b2c28cb456f60b6e6876e1fc0330e436fad5 (diff)
downloadgit-7122f4f7479c59da4230a1a3a129fc618cb01eee.tar.gz
refs.h: HEAD is not that special
In-code comment explains pseudorefs but used a wrong nomenclature "special ref". Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 23211a5ea1..ff113bb12a 100644
--- 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