author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
Thu, 8 Nov 2007 21:48:49 +0000 (22:48 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 8 Nov 2007 23:56:22 +0000 (15:56 -0800) | ||
commit | 4f2e94c0f7685f9c58e67b0651147684efb0f57e | |
tree | 2006490e960d390a0014c112970eea633d0c8bb2 | tree | snapshot |
parent | b5e960b108b48b3ebd92a3c1b22b13a9edd127dc | commit | diff |
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>
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>
git-submodule.sh | diff | blob | history |