[parted-devel] ASK: tab or space
Brian C. Lane
bcl at redhat.com
Tue Apr 12 19:12:21 UTC 2016
On Mon, Apr 11, 2016 at 09:30:07AM +0800, Wang Dong wrote:
> Hi,
>
> I am confused about the spaces and tabs in parted.
>
> I read the parted/README-hacking, which says "We use space-only indentation
> in almost
> all files". But I found the fact not so. Some C files use spaces and some
> tabs. And some use
> mixed. Is there anything wrong? Which should I choose?
Yes, it's a bit of a mess. For completely new code use spaces, if you
are patching existing code match the surrounding style.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the parted-devel
mailing list