commit a0d056eb18522276cba8d87a549e01d889b67e60 parent 56d816c0960f7b655e78f3b10eab1a1e6b5790a9 Author: sin <sin@2f30.org> Date: Wed, 29 Apr 2015 13:37:35 +0200 Restore index.md for sic/patches Diffstat:
A | tools.suckless.org/sic/patches/index.md | | | 29 | +++++++++++++++++++++++++++++ |
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/tools.suckless.org/sic/patches/index.md b/tools.suckless.org/sic/patches/index.md @@ -0,0 +1,29 @@ +Patches +======= + +diff generation +--------------- +For git users: + + cd sic-directory + git diff > sic-X.Y-yourpatchname.diff + +For tarballs: + + cd modified-sic-directory/.. + diff -up original-sic-directory modified-sic-directory > sic-X.Y-yourpatchname.diff + +where `X.Y` is an sic tag name or version number. + + +patch application +----------------- +For git users: + + cd sic-directory + git apply path/to/patch.diff + +For tarballs: + + cd sic-directory + patch -p1 < path/to/patch.diff