From: K Jayatheerth Date: Sun, 22 Mar 2026 05:36:17 GMT Subject: [PATCH v3 2/2] refspec: fix typo in comment Message-ID: <20260322053617.38951-2-jayatheerthkulkarni2005@gmail.com> In-Reply-To: <20260322053617.38951-1-jayatheerthkulkarni2005@gmail.com> Fix a long-standing typo in a comment: "refpsecs" -> "refspecs". Signed-off-by: K Jayatheerth --- refspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refspec.c b/refspec.c index a864a0bac2..a0c9edfbea 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 (the_hash_algo && 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 -- 2.53.0