From 7a6e2550fccd00a6ce8b4a0de1165a3505b7c1a3 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 28 Oct 2018 14:04:23 +0300 Subject: [PATCH] misc: Nindent -- Drop expand tabs with space option Currently out code is rather a mix of space/tabs with sometime different indent level. Mostly because some of developers are came from kernel space. Lets shift to kernel coding standart with small steps, file by file. It really helps when you're sitting in front of laptop more than 10 hours long. Signed-off-by: Cyrill Gorcunov --- misc/Nindent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Nindent b/misc/Nindent index 0d75ccca4..a6c806ca4 100755 --- a/misc/Nindent +++ b/misc/Nindent @@ -1,5 +1,5 @@ #!/bin/sh -PARAM="-npro -kr -i4 -ts8 -nut -sob -l80 -ss -ncs -cp1" +PARAM="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1" RES=`indent --version` V1=`echo $RES | cut -d' ' -f3 | cut -d'.' -f1` V2=`echo $RES | cut -d' ' -f3 | cut -d'.' -f2`