Formatting scripts in CTDB source code (was Re: [PATCHES] Various CTDB bug fixes and improvements)
martin at meltin.net
Wed Jan 13 22:35:05 UTC 2016
On Wed, 13 Jan 2016 11:03:44 +0100, Michael Adam <obnox at samba.org>
> I don't know. The standard 4 space also looks ok to me.
> But if we go with 8 char tabs, I agree that the above
> approach looks better.
Emacs' default indentation for C files is also based on an unusual
number of spaces, but we don't use it. ;-)
I think that if we use tabs for C code then we might as well be
consistent and use the same for shell scripts, given that there's no
competing convention. If "tabs with left-aligned case labels" is
already what VIM does then we might as well do that. No use making
everyone tweak editor settings just for the sake of it...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 173 bytes
Desc: OpenPGP digital signature
More information about the samba-technical