Using Git To Produce Patches

This page is superseded with the re-introduction of git-based "gmake makepatch" support. The extract step in GAR will automatically initialize a git repository and in addition to checking in the pristine source tree, it will tag it with "upstream-$(VERSION)". The patch step in GAR will apply existing patches producing one git commit per patch. This is done on a separate branch named "csw." The top of the existing patch stack is tagged with "csw-$(VERSION)." This gives you the ability to look at each individual patch as well as the difference between pristine and patched source very easily. In addition, you can use git within the $(WORKSRC) manually.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License