]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update CodingStyle to specify use of spaces
authorEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Wed, 1 Oct 2025 00:35:48 +0000 (20:35 -0400)
committerEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Thu, 2 Oct 2025 21:33:40 +0000 (17:33 -0400)
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
CodingStyle

index 019d23c7703dc73ce14d78216fd4098967b4dc7b..54f0700358fbf1fcb04cde7ff7ecdf6040005b87 100644 (file)
@@ -74,12 +74,11 @@ by section.
    (LGPL2.1 or LGPL3.0) or the code origin isn't reflected by the git history.
 
 * Formatting > Tabs:
-  Indent width is two spaces.  When runs of 8 spaces can be compressed
-  to a single tab character, do so. The standard Emacs/Vim settings
-  header is:
+  Indent width is two spaces.  Tabs are expanded to spaces.
+  The standard Emacs/Vim settings header is:
 
-// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-// vim: ts=8 sw=2 smarttab ft=cpp
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
+// vim: ts=8 sw=2 sts=2 expandtab ft=cpp
 
 * Formatting > Conditionals: