Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:How to create a patch

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

About git patches, I'd recommend to use "git format-patch" when possible, as far as it keeps the original author, signed, commits (and commit messages), when applying it with "git am". For a given branch FIXBRANCH, with n commits fixing something in MOODLE_XX_STABLE you can always get all the commits easily by doing:

git format-patch [FIXBRANCH...]MOODLE_XX_STABLE

(with FIXBRANCH being optional if it's your current branch)

Eloy Lafuente (stronk7) 22:50, 8 November 2012 (WST)