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: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 23:36, 17 May 2016

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)