Jeegar Patel
Jeegar Patel

Reputation: 27200

git patch do not declare a Content-Transfer-Encoding while git send-email

I have followed below step.

  1. Created a Patch

    git format-patch -1

  2. Send that Via git send-email

    git send-email --subject-prefix="XYZ" [email protected] (patch files)

It gives below output

The following files are 8bit, but do not declare a Content-Transfer-Encoding.
        0001-xyz.patch
Which 8bit encoding should I declare [UTF-8]? y
Are you sure you want to use <y> [y/N]? y

I am not sure what should i give here. I have tried Y & also N here.

  1. Open this patch in any EMAIL client (Microsoft Outlook) & save as .patch

  2. Apply that new patch xyz.patch on new git repo. It always get failed as below

    fatal: corrupt patch at line

Any solution to work in this process.

Upvotes: 2

Views: 1265

Answers (0)

Related Questions