summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/patches.txt
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-05-04 14:50:16 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-05-04 14:50:16 +0000
commitc9bab0e43333984f4e83559f42ad2bf6b2427912 (patch)
tree743d78b3d5a7933f7a5aa07849c0ef3579ad7575 /DOCS/tech/patches.txt
parent81f66d64cd1492efd1771ca01f2db2de86f71bf6 (diff)
downloadmpv-c9bab0e43333984f4e83559f42ad2bf6b2427912.tar.bz2
mpv-c9bab0e43333984f4e83559f42ad2bf6b2427912.tar.xz
Hint at diff options useful for avoiding cosmetic changes, patch by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12420 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/patches.txt')
-rw-r--r--DOCS/tech/patches.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/tech/patches.txt b/DOCS/tech/patches.txt
index cd64def4bf..2c54d7ad41 100644
--- a/DOCS/tech/patches.txt
+++ b/DOCS/tech/patches.txt
@@ -25,6 +25,11 @@ that your patch will be included.
4. Read your patch. We'll *refuse* it if it changes indentation of the
code or if it does tab/space conversion or other cosmetical changes!
+ NOTE: If you alread wrote some code and did cosmetic changes, you can use
+ 'diff -uwbBE' to help you remove them. Don't forget to check the patch
+ to make sure diff didn't ignore some important change and remove any
+ remaining cosmetics!
+
5. Comment parts that really need it (tricky side-effects etc).
Commenting trivial code not required. Comments must be English!