patch_parse.c
28.3 KB
-
patch_parse: treat complete line after "---"/"+++" as path · 3892f70d
When parsing the "---" and "+++" line, we stop after the first whitespace inside of the filename. But as files containing whitespaces do not need to be quoted, we should instead use the complete line here. This fixes parsing patches with unquoted paths with whitespaces.
Patrick Steinhardt committed