refspec: fix typo in comment
Fix a long-standing typo in a comment: "refpsecs" -> "refspecs". Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
K Jayatheerth committed
Mar 24, 2026 at 07:27 UTC
4e5dc601ddc5f0d8ab035210554d9e15aa376032
1 file changed
+1
-1
refspec.c
+1
-1
@@ -85,7 +85,7 @@ static int parse_refspec(struct refspec_item *item, const char *refspec, int fet
85
if (!*item->src)
86
return 0; /* negative refspecs must not be empty */
87
else if (llen == the_hash_algo->hexsz && !get_oid_hex(item->src, &unused))
88
- return 0; /* negative refpsecs cannot be exact sha1 */
88
+ return 0; /* negative refspecs cannot be exact sha1 */
89
else if (!check_refname_format(item->src, flags))
90
; /* valid looking ref is ok */
91
else