This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:developers:documentation:submittingpatches [2018/03/26 15:03] Kalle Valo [Checking state of patches from patchwork] Do not top post! |
en:developers:documentation:submittingpatches [2018/03/27 14:12] Kalle Valo [Format of patches] Mention about git-format-patch and git-send-email |
||
---|---|---|---|
Line 111: | Line 111: | ||
===== Format of patches ===== | ===== Format of patches ===== | ||
- | We prefer patches to be inline-text at the end of the body of the e-mail. You can use git-diff or the like to generate the patch. Additionally note that we prefer to apply patches with -p1. A header as follows is then acceptable: | + | We prefer patches to be inline-text at the end of the body of the e-mail. It's strongly recommended to use git-format-patch and git-send-email tools to submit patches as they use the correct format automatically. Additionally note that we prefer to apply patches with git-am (using the -p1 diff format). A header as follows is then acceptable: |