# Clean cherry-pick with a single renamed file.
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
git mv second third
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/second b/third
similarity index 100%
rename from second
rename to third
EOT
