diff options
| author | K Jayatheerth <jayatheerthkulkarni2005@gmail.com> | 2026-03-24 07:27:34 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-23 21:27:17 -0700 |
| commit | 4e5dc601ddc5f0d8ab035210554d9e15aa376032 (patch) | |
| tree | 69383d0223b1df51e63968e6832fd257815ffee9 | |
| parent | 649c768a25b191dbea72c7bacaed5b81ef195bf5 (diff) | |
| download | git-4e5dc601ddc5f0d8ab035210554d9e15aa376032.tar.xz | |
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>
| -rw-r--r-- | refspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
