contrib: fix special character handling in filter-lamely
filter-lamely does not handle filenames with special characters (such as äöü or even \n and \t) properly when using a tree filter or index filter. It either does not quote the input to git correctly or parses git output incorrectly, causing affected filenames to be mangled with extraneous double quotes in the history or even crashing the program. Make filter-lamely correctly handle such filenames by using NUL-delimited input and output modes for the affected git commands. Signed-off-by: Marius Renner <marius@mariusrenner.de>pull/71/head
parent
9928b7cb3e
commit
3427ee171b
Loading…
Reference in New Issue