diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2007-11-08 22:48:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-08 15:56:22 -0800 |
commit | 4f2e94c0f7685f9c58e67b0651147684efb0f57e (patch) | |
tree | 2006490e960d390a0014c112970eea633d0c8bb2 /builtin-diff.c | |
parent | b5e960b108b48b3ebd92a3c1b22b13a9edd127dc (diff) | |
download | git-4f2e94c0f7685f9c58e67b0651147684efb0f57e.tar.gz |
Fix sed string regex escaping in module_name.
When escaping a string to be used as a sed regex, it is important
to only escape active characters. Escaping other characters is
undefined according to POSIX, and in practice leads to issues with
extensions such as GNU sed's \+.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions