aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-06 04:11:25 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-06 04:11:25 +0800
commit26b8fe7f8b784b156c600006e006110962d1c79c (patch)
treef07cd9d32085aa9bcd837da42ff07037bdc036b6 /HACKING
parent70673bbc1936b74449c0a651730d3f52c0867d32 (diff)
downloadgsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar.gz
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar.bz2
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar.lz
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar.xz
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.tar.zst
gsoc2013-epiphany-26b8fe7f8b784b156c600006e006110962d1c79c.zip
Modify HACKING file to reflect changes in default indent style.
svn path=/trunk/; revision=7634
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING5
1 files changed, 4 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index 0e6030da4..db83fb6c6 100644
--- a/HACKING
+++ b/HACKING
@@ -4,11 +4,14 @@ need to stick to in order to get your patch accepted:
- 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
+- Use K&R style for the braces
- please compare with NULL or FALSE isntead of using "!"
- callback functions have a suffix _cb
- all files have to be encoded in UTF-8
+- data/kr-gnome-indent.cfg is provided as a reference config file for the
+ uncrustify program to get correct indentation in new files.
+
Comment blocks are written like this:
/*