summaryrefslogtreecommitdiff
path: root/compat/regex/regex.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-11-05 17:07:30 +0000
committerJunio C Hamano <gitster@pobox.com>2019-11-10 16:00:55 +0900
commit03670c8b2375062a5bcc50ce8891a4406fbc88e2 (patch)
tree1f59a47b80eda5492a8c02f737a3b5a4d5a22ebe /compat/regex/regex.h
parentae821ffe8327ebb24b16ba5a42c6d675050319d7 (diff)
downloadgit-03670c8b2375062a5bcc50ce8891a4406fbc88e2.tar.gz
Fix spelling errors in no-longer-updated-from-upstream modules
We have several modules originally taken from some upstream source, and which as far as I can tell we no longer update from the upstream anymore. As such, I have not submitted these spelling fixes to any external projects but just include them directly here. Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex.h')
-rw-r--r--compat/regex/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/regex/regex.h b/compat/regex/regex.h
index 4d81358a83..08a2609663 100644
--- a/compat/regex/regex.h
+++ b/compat/regex/regex.h
@@ -322,7 +322,7 @@ typedef enum
/* POSIX regcomp return error codes. (In the order listed in the
standard.) */
REG_BADPAT, /* Invalid pattern. */
- REG_ECOLLATE, /* Inalid collating element. */
+ REG_ECOLLATE, /* Invalid collating element. */
REG_ECTYPE, /* Invalid character class name. */
REG_EESCAPE, /* Trailing backslash. */
REG_ESUBREG, /* Invalid back reference. */