> From: "Ryan Leavengood" <leavengood@xxxxxxxxx> > Sent: lundi, 14 novembre 2011 22:10:08 >> >> Our using Git now shouldn't affect patches except it makes the work >> easier on patch writers since they can use a local Git branch for >> their work and keep it up-to-date with Haiku master much more easily >> with Git. Git at its core is really a patch management system anyhow. > > I can provide a patch using git the question is how generating it > "git diff >my_feature.patch" or "git format-patch master --stdout > > my_feature.patch" or another command? To provide patches using git you should always work in a local branch rather than master and make a patches relative to origin/master. You should also pass the --no-prefix option so that the patch can be applied at patch level 0 instead of the default 1. The command line for this is: git diff --no-prefix origin/master > my_feature.patch > It should be useful to update that page: > http://dev.haiku-os.org/wiki/SubmittingPatches Agreed, the page should be updated with the above information. John Scipione