]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/CodingGuidelines
Merge branch 'sn/diff-doc'
[git.git] / Documentation / CodingGuidelines
index 5aa2d34f8b48f998d851fc8bab17c0186c90df8d..1b1c45df5ce3ef30e588555bbd5ab404c2b7397c 100644 (file)
@@ -31,6 +31,10 @@ But if you must have a list of rules, here they are.
 
 For shell scripts specifically (not exhaustive):
 
+ - We use tabs for indentation.
+
+ - Case arms are indented at the same depth as case and esac lines.
+
  - We prefer $( ... ) for command substitution; unlike ``, it
    properly nests.  It should have been the way Bourne spelled
    it from day one, but unfortunately isn't.