Patchwork

From Openembedded.org
Revision as of 11:15, 20 January 2010 by Koan (talk | contribs) (contrib/patchwork/pw-am.sh)
Jump to: navigation, search

To apply a patch from the patchwork queue using Git, download the mbox file and apply it using

git am < file

If the submitter of the patch has not written the Subject of the email according to the OpenEmbedded policy for commit messages, then use

git commit --amend

to edit the commit message before you push.

You could also use the script in contrib/patchwork/pw-am.sh this script will fetch an 'mbox' patch from patchwork and git am it

usage: pw-am.sh <number>
example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/