diff options
author | Linus Torvalds <torvalds@osdl.org> | 2005-10-11 15:24:11 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-11 15:24:11 -0700 |
commit | 5cbb401dbaff5fd810a85b84333cb0c22d264f36 (patch) | |
tree | 8c8a7c6987bcb0eeab559a58170fccd767ce0218 /apply.c | |
parent | show-branch: optionally use unique prefix as name. (diff) | |
download | tgif-5cbb401dbaff5fd810a85b84333cb0c22d264f36.tar.xz |
Improve config file escape sanity checking
I had meant to disallow unknown escape characters in the config file
parser, but instead an unknown escaped character would silently pass
through as itself. That's correct for some cases (notably '\' itself), but
wasn't correct in general.
This fixes it, and makes the parser write a nice error message if the
config file contains bogus escaped characters.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'apply.c')
0 files changed, 0 insertions, 0 deletions