Skip to content

patch: Handle empty patch files

Nikolai Kondrashov requested to merge spbnick/kpet:handle_empty_patches into main

Empty patch files are valid patches, so return an empty set of changed source files from get_src_set() when encountering one.

Patch files with just whitespace are considered invalid by patch(1), however, so keep treating them that way.

Fixes #46 (closed)

Edited by Nikolai Kondrashov

Merge request reports