mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
PatchingInputAccessor: Allow empty lines in patches
This commit is contained in:
parent
baee9fe7a2
commit
2b30df7b46
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ struct PatchingInputAccessor : InputAccessor
|
||||||
|| hasPrefix(line, "@@")
|
|| hasPrefix(line, "@@")
|
||||||
|| hasPrefix(line, "+")
|
|| hasPrefix(line, "+")
|
||||||
|| hasPrefix(line, "-")
|
|| hasPrefix(line, "-")
|
||||||
|| hasPrefix(line, " ")))
|
|| hasPrefix(line, " ")
|
||||||
|
|| line.empty()))
|
||||||
{
|
{
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue