Skip to content

Print patch command line for changes detected by checkerfrawork #15837

@romani

Description

@romani

It was pain for long time, but here it was longer than it should be
#15807 (comment)

We need to reuse this approach:

echo "patch $whitelist_path <<EOF"
echo "$diff_output"
echo "EOF"

So users can simply copy and paste command to terminal to let it work.

All we need is just special printing in log of diff content, that we already do.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions