ladybird/Userland/Libraries/LibDiff
Shannon Booth dd373eacbc LibDiff+patch: Support multiple patches in a single patch file
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.
2023-07-30 07:47:22 +01:00
..
Applier.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Applier.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
CMakeLists.txt LibDiff: Add Diff::apply_patch 2023-07-13 10:29:30 +01:00
Format.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Format.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Forward.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Generator.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Generator.h LibDiff: Add support for generating diffs with surrounding context 2023-07-02 11:18:11 -06:00
Hunks.cpp LibDiff+patch: Support multiple patches in a single patch file 2023-07-30 07:47:22 +01:00
Hunks.h LibDiff+patch: Support multiple patches in a single patch file 2023-07-30 07:47:22 +01:00