# Clean cherry-pick with change of two files.
cat > first <<EOT
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
EOT
cat > second <<EOT
Ut enim ad minim veniam,
quis nostrud exercitation
ullamco laboris nisi ut aliquip
ex ea commodo consequat.
EOT
git add -A
git commit -q -m 'Initial commit'
git tag target
cat > first <<EOT
Lorem ipsum dolor sit amet,
CONSECTETUR adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
EOT
cat > second <<EOT
Ut enim ad minim veniam,
quis nostrud exercitation
ULLAMCO laboris nisi ut aliquip
ex ea commodo consequat.
EOT
git commit -q -a -m 'A change'
git tag source
git checkout -q target
patchpal source
match <<EOT
commit %sha
Author: A Developer <developer@example.com>
Date:   %date

    A change
    
    commit %sha[source]
    Author: A Developer <developer@example.com>
    Date:   %date
    
        A change
    
    (cherry picked from commit %sha[source])
    Assisted-by: Patchpal
    Signed-off-by: A Developer <developer@example.com>

diff --git a/first b/first
index %short..%short 100644
--- a/first
+++ b/first
@@ -1,4 +1,4 @@
 Lorem ipsum dolor sit amet,
-consectetur adipiscing elit,
+CONSECTETUR adipiscing elit,
 sed do eiusmod tempor incididunt
 ut labore et dolore magna aliqua.
diff --git a/second b/second
index %short..%short 100644
--- a/second
+++ b/second
@@ -1,4 +1,4 @@
 Ut enim ad minim veniam,
 quis nostrud exercitation
-ullamco laboris nisi ut aliquip
+ULLAMCO laboris nisi ut aliquip
 ex ea commodo consequat.
EOT
