Skip to content

Commit 7122f4f

Browse files
committed
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 <[email protected]>
1 parent 2047b2c commit 7122f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct worktree;
5656
* Even with RESOLVE_REF_ALLOW_BAD_NAME, names that escape the refs/
5757
* directory and do not consist of all caps and underscores cannot be
5858
* resolved. The function returns NULL for such ref names.
59-
* Caps and underscores refers to the special refs, such as HEAD,
59+
* Caps and underscores refers to the pseudorefs, such as HEAD,
6060
* FETCH_HEAD and friends, that all live outside of the refs/ directory.
6161
*/
6262
#define RESOLVE_REF_READING 0x01

0 commit comments

Comments
 (0)