How to use git am to apply patches from email messages?

前端 未结 3 1407
无人共我
无人共我 2020-12-28 15:10

I am pretty familiar with git(the basic stuff atleast-branches, merges,collaboration with peers etc.) but the other day a friend of mine told me that we could use git with o

3条回答
  •  半阙折子戏
    2020-12-28 15:39

    Patchwork workaround

    https://github.com/getpatchwork/patchwork

    Since no one seems to know how to convert emails to mbox with readily available tools, many of those cornerstone dinosaur projects projects have an associated, sometimes officially recommended, patchwork instance running, many of them hosted on https://patchwork.ozlabs.org/ e.g.:

    • https://patchwork.kernel.org/ Linux kernel
    • https://patchwork.ozlabs.org/project/qemu-devel/list/ QEMU
    • https://patchwork.ozlabs.org/project/gcc/list/ GCC, which includes GDB which is your original use case
    • https://patchwork.ozlabs.org/project/glibc/list/ glibc

    Patchwork subscribes to the list, and parses the patches generated by git send-email, and allows you to download a patch.

    So yes, yet another tooling layer on top of email...

    Thunderbird export to mbox

    Asked at: What is the easiest way to apply git series of patches from Thunderbird No answer so far.

    See also

    • https://unix.stackexchange.com/questions/80519/how-do-i-get-a-linux-kernel-patch-set-from-the-mailing-list
    • How to apply a patch generated with git format-patch?

提交回复
热议问题