diff options
author | René Scharfe <l.s.r@web.de> | 2015-07-11 14:58:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-12 09:55:23 -0700 |
commit | 3f4f17b51b30262041a2248ef9f966f6248aed50 (patch) | |
tree | fc338012da740171d079e9db003a18e6fcf4f3a1 /prompt.h | |
parent | b8767f791c15f119554c1466af60e4f2433ae971 (diff) | |
download | git-3f4f17b51b30262041a2248ef9f966f6248aed50.tar.gz |
diff: parse ws-error-highlight option more strictlyjc/diff-ws-error-highlight
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 'prompt.h')
0 files changed, 0 insertions, 0 deletions