[quagga-dev 11654] [PATCH 2/3] HACKING: Use space char for indentation.
paul at opensourcerouting.org
Mon Oct 27 16:10:59 GMT 2014
* HACKING.tex: Whitespace/indent section is probably out of date. Rephrase.
Remove the editor recommendations, as I don't know what would be correct.
HACKING.tex | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/HACKING.tex b/HACKING.tex
index bf07edd..acb33fd 100644
@@ -21,23 +21,12 @@ are welcome.
GNU coding standards apply. Indentation follows the result of
-invoking GNU indent (as of 2.2.8a) with no arguments. Note that this
-uses tabs instead of spaces where possible for leading whitespace, and
-assumes that tabs are every 8 columns. Do not attempt to redefine the
-location of tab stops. Note also that some indentation does not
-follow GNU style. This is a historical accident, and we generally
-only clean up whitespace when code is unmaintainable due to whitespace
-issues, to minimise merging conflicts.
-For GNU emacs, use indentation style ``gnu''.
-For Vim, use the following lines (note that tabs are at 8, and that
-softtabstop sets the indentation level):
+invoking GNU indent (as of 2.2.8a) with the --nut argument.
+Originally, tabs were used instead of spaces, with tabs are every 8 columns.
+However, tab's interoperability issues mean space characters are now preferred for
+new changes. We generally only clean up whitespace when code is unmaintainable
+due to whitespace issues, to minimise merging conflicts.
Be particularly careful not to break platforms/protocols that you
More information about the Quagga-dev