.gitignore: Add compilation database files
PATCH 1/1 .gitignore: Add compilation database files
This file is used by clangd to use language server protocol. It can be generated at each compile using scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored.
--- .gitignore | 3 +++ 1 file changed, 3 insertions(+)
.gitignore +3 -0
@@ -142,3 +142,6 @@ x509.genkey # Kdevelop4 *.kdev4 + +# Clang's compilation database files +/compile_commands.json
Signature · 1 line
2.17.1
Quoted 16 lines · Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using
scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored.Signed-off-by Toru Komatsu <[email protected]>--- .gitignore | 3 +++ 1 file changed, 3 insertions(+).gitignore +0
-0
.gitignore x509.genkey · line 147
Quoted 6 lines
.gitignore +3
-0@@ -142,3 +142,6 @@ x509.genkey # Kdevelop4 *.kdev4 + +# Clang's compilation database files +/compile_commands.json
Thanks for the patch!
Also, if you're doing anything exciting with compile_commands.json, I'd love to know. We're using it for static analyses.
Signature · 2 lines
Thanks, ~Nick Desaulniers
Just a nit.
The patch title is:
.gitignore: Add compilation database "files"
Maybe, should it be singular?
Quoted 25 lines · Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using
scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored.Signed-off-by Toru Komatsu <[email protected]>--- .gitignore | 3 +++ 1 file changed, 3 insertions(+).gitignore +3
-1@@ -142,3 +142,6 @@ x509.genkey # Kdevelop4 *.kdev4 + +# Clang's compilation database files +/compile_commands.json --2.17.1
Signature · 2 lines
Best Regards Masahiro Yamada
Quoted 39 lines · Masahiro Yamada
Just a nit.
The patch title is:
.gitignore: Add compilation database "files"Maybe, should it be singular?
Quoted 25 lines · Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using
scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored.Signed-off-by Toru Komatsu <[email protected]>--- .gitignore | 3 +++ 1 file changed, 3 insertions(+).gitignore +3
-1@@ -142,3 +142,6 @@ x509.genkey # Kdevelop4 *.kdev4 + +# Clang's compilation database files +/compile_commands.json --2.17.1
Signature · 2 lines
Best Regards Masahiro Yamada
Signature · 7 lines
Thanks for your review. Sorry, this point which you pointed out is my mistake. It is should be "file". I'm begginer because this patch is my first time, What should I do next?
Quoted 2 lines
Thanks,
~Toru Komatsu
Quoted 44 lines · Toru Komatsu
Quoted 26 lines · Masahiro Yamada
Just a nit.
The patch title is:
.gitignore: Add compilation database "files"Maybe, should it be singular?
Quoted 17 lines · Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using
scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored.Signed-off-by Toru Komatsu <[email protected]>--- .gitignore | 3 +++ 1 file changed, 3 insertions(+).gitignore +0
-0@@ -142,3 +142,6 @@ x509.genkeyQuoted 13 lines
Quoted 8 lines
.gitignore +3
-1# Kdevelop4 *.kdev4 + +# Clang's compilation database files +/compile_commands.json --2.17.1
--
Best Regards
Masahiro Yamada--
Quoted 7 lines
Thanks for your review.
Sorry, this point which you pointed out is my mistake. It is should be "file".
I'm begginer because this patch is my first time, What should I do next?
This patch is trivial enough.
I will change "files" -> "file"
(patch subject and code),
then I will apply it.
Thanks.
Signature · 2 lines
Best Regards Masahiro Yamada
Quoted 2 lines · Toru Komatsu
I'm begginer because this patch is my first time, What should I do next?
TL;DR
<edit file>
$ git commit <file> --amend $ git format-patch -v2 <resend>
Signature · 2 lines
Thanks, ~Nick Desaulniers