Skip to content

Commit 4e5dc60

Browse files
jayatheerthkulkarnigitster
authored andcommitted
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>
1 parent 649c768 commit 4e5dc60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

refspec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static int parse_refspec(struct refspec_item *item, const char *refspec, int fet
8585
if (!*item->src)
8686
return 0; /* negative refspecs must not be empty */
8787
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 */
8989
else if (!check_refname_format(item->src, flags))
9090
; /* valid looking ref is ok */
9191
else

0 commit comments

Comments
 (0)