aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-10-07 22:06:19 +0800
committerXan Lopez <xan@src.gnome.org>2007-10-07 22:06:19 +0800
commitcd1e5423e98b5a79204e7bce140f18167e73bb36 (patch)
treed707dbf7ba5edb80d25482bce96502ffc15ddd93 /HACKING
parent580e6c4e467f35224cf335cdfc603add1b2bb461 (diff)
downloadgsoc2013-epiphany-cd1e5423e98b5a79204e7bce140f18167e73bb36.tar.gz
gsoc2013-epiphany-cd1e5423e98b5a79204e7bce140f18167e73bb36.tar.zst
gsoc2013-epiphany-cd1e5423e98b5a79204e7bce140f18167e73bb36.zip
Update HACKING file with new indentation style.
svn path=/trunk/; revision=7520
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 3 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index ca09af15a..0e6030da4 100644
--- a/HACKING
+++ b/HACKING
@@ -1,7 +1,9 @@
In order to keep the code nice and clean we have a few requirements you'll
need to stick to in order to get your patch accepted:
-- use 8-space tabs for indentation
+- use 2-space no-tabs for indentation (mandatory on new files, old ones will
+ be re-indented eventually. When modifying an existing file with 8-space
+ indentation keep the old style please)
- curly brackets are on a new line
- please compare with NULL or FALSE isntead of using "!"
- callback functions have a suffix _cb