commit a0d056eb18522276cba8d87a549e01d889b67e60
Author: sin <[email protected]>
Date:   Wed Apr 29 13:37:35 2015 +0200

    Restore index.md for sic/patches

diff --git a/tools.suckless.org/sic/patches/index.md 
b/tools.suckless.org/sic/patches/index.md
new file mode 100644
index 0000000..77a57ae
--- /dev/null
+++ 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


Reply via email to