mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
dd373eacbc
Multiple patches may be concatenated in the same patch file, such as git commits which are changing multiple files at the same time. To handle this, parse each patch in order in the patch file, and apply each patch sequentially. To determine whether we are at the end of a patch (and not just parsing another hunk) the parser will look for a leading '@@ ' after every hunk. If that is found, there is another hunk. Otherwise, we must be at the end of this patch. |
||
---|---|---|
.. | ||
Applier.cpp | ||
Applier.h | ||
CMakeLists.txt | ||
Format.cpp | ||
Format.h | ||
Forward.h | ||
Generator.cpp | ||
Generator.h | ||
Hunks.cpp | ||
Hunks.h |