cocoapods-patch icon indicating copy to clipboard operation
cocoapods-patch copied to clipboard

Patch pod with subspec - wrong diff

Open jeremypiednoel opened this issue 4 years ago • 2 comments

Hello,

i tried to run pod patch create Adjust without any updates (i tried with updates too) into the adjust pod and the command line seems to generate a huge diff.

I assume it's due to subspec because i can reproduce on other pod with subspec (ie Parse) Find the diff below. Archive.zip

Thanks for this amazing tool !

jeremypiednoel avatar Sep 03 '20 12:09 jeremypiednoel

Hi @jeremypiednoel, thanks for reporting this issue!

If you make some updates to the pod, are those changes also included in the diff?

We'll investigate the issue. As a temporary workaround: if the changes are included in the diff, you can reduce the diff to only the files that you updated and remove the rest. It should still patch correctly.

dcvz avatar Sep 08 '20 21:09 dcvz

hi @dcvz, Yes the are included among the huge diff.

Screenshot 2020-09-08 at 11 22 38 PM Screenshot 2020-09-08 at 11 23 43 PM

Thanks for the temporary workaround i already did that :)

jeremypiednoel avatar Sep 08 '20 21:09 jeremypiednoel