summaryrefslogtreecommitdiff
path: root/userdiff.c
diff options
context:
space:
mode:
authorBoyd Stephen Smith Jr <bss@iguanasuicide.net>2009-01-21 04:59:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-22 07:52:16 (GMT)
commitae3b970ac3e21324a95fea75213c2569180d74c6 (patch)
tree28f733efa6f884e2740ea8ee9dcda292122c0bf2 /userdiff.c
parent98a4d87b87e9846eafd21ba232cc2b7ba3f718fc (diff)
downloadgit-ae3b970ac3e21324a95fea75213c2569180d74c6.zip
git-ae3b970ac3e21324a95fea75213c2569180d74c6.tar.gz
git-ae3b970ac3e21324a95fea75213c2569180d74c6.tar.bz2
Change the spelling of "wordregex".
Use "wordRegex" for configuration variable names. Use "word_regex" for C language tokens. Signed-off-by: Boyd Stephen Smith Jr. <bss@iguanasuicide.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.c')
-rw-r--r--userdiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/userdiff.c b/userdiff.c
index 2b55509..d556da9 100644
--- a/userdiff.c
+++ b/userdiff.c
@@ -6,8 +6,8 @@ static struct userdiff_driver *drivers;
static int ndrivers;
static int drivers_alloc;
-#define PATTERNS(name, pattern, wordregex) \
- { name, NULL, -1, { pattern, REG_EXTENDED }, wordregex }
+#define PATTERNS(name, pattern, word_regex) \
+ { name, NULL, -1, { pattern, REG_EXTENDED }, word_regex }
static struct userdiff_driver builtin_drivers[] = {
PATTERNS("html", "^[ \t]*(<[Hh][1-6][ \t].*>.*)$",
"[^<>= \t]+|[^[:space:]]|[\x80-\xff]+"),