From: nasm-bot f. C. G. <gor...@gm...> - 2018-10-28 20:54:18
|
Commit-ID: 7a6e2550fccd00a6ce8b4a0de1165a3505b7c1a3 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=7a6e2550fccd00a6ce8b4a0de1165a3505b7c1a3 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 28 Oct 2018 14:04:23 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 28 Oct 2018 23:51:25 +0300 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 <gor...@gm...> --- misc/Nindent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Nindent b/misc/Nindent index 0d75ccc..a6c806c 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` |