On 09/04/19 20:37, doak wrote:
> Hi Fil,

Hi, Doak!

>
>> Also, the patch is quite big, because I was not able to prevent
>> git-format-patch from including the whole content of deleted files..
>> Any suggestion on how to reformat that are welcome too.
>
> Btw, 'git format-patch --irreversible-delete' should do the trick.
>

Thank you for the suggestion!
Following your advice, I was spurred to read more about it on [1], which
says:

> The resulting patch is not meant to be applied with |patch| or |git
apply|; this is solely for people who want to just concentrate on
reviewing the text after the change. In addition, the output obviously
lacks enough information to apply such a patch in reverse, even
manually, hence the name of the option.

If I get that right, it means the --irreversible-delete option is not
suited for patching Replicant code, as it would prevent from reverting
the patch..
Is my understanding correct?

Thank you again for helping me learn yet another bit of this piece of
technical magic called Git! ;-)

Cheers,

Fil

Reference:
[1] https://git-scm.com/docs/git-format-patch

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to