From: K Jayatheerth Date: Tue, 24 Mar 2026 01:57:34 +0000 (+0530) Subject: refspec: fix typo in comment X-Git-Tag: v2.54.0-rc0~3^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e5dc601ddc5f0d8ab035210554d9e15aa376032;p=thirdparty%2Fgit.git refspec: fix typo in comment Fix a long-standing typo in a comment: "refpsecs" -> "refspecs". Signed-off-by: K Jayatheerth Signed-off-by: Junio C Hamano --- diff --git a/refspec.c b/refspec.c index 0775358d96..fb89bce1db 100644 --- a/refspec.c +++ b/refspec.c @@ -85,7 +85,7 @@ static int parse_refspec(struct refspec_item *item, const char *refspec, int fet if (!*item->src) return 0; /* negative refspecs must not be empty */ else if (llen == the_hash_algo->hexsz && !get_oid_hex(item->src, &unused)) - return 0; /* negative refpsecs cannot be exact sha1 */ + return 0; /* negative refspecs cannot be exact sha1 */ else if (!check_refname_format(item->src, flags)) ; /* valid looking ref is ok */ else