summaryrefslogtreecommitdiff
path: root/t/t5100/msg0015
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2015-07-11 14:58:21 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-12 09:55:23 -0700
commit3f4f17b51b30262041a2248ef9f966f6248aed50 (patch)
treefc338012da740171d079e9db003a18e6fcf4f3a1 /t/t5100/msg0015
parentdiff.c: --ws-error-highlight=<kind> option (diff)
downloadtgif-3f4f17b51b30262041a2248ef9f966f6248aed50.tar.xz
diff: parse ws-error-highlight option more strictly
Check if a matched token is followed by a delimiter before advancing the pointer arg. This avoids accepting composite words like "allnew" or "defaultcontext" and misparsing them as "new" or "context". Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0015')
0 files changed, 0 insertions, 0 deletions