Skip to content

gitignore: ignore compile_commands.json

Add compile_commands.json (required by cquery, a popular C/C++ language server) to the list of files ignored by git

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

P.S. Had a hard time choosing between adding this to the project VS ignoring it, but ignoring seems to be the better option IMO because:

  1. It's trivial to generate
  2. Let's shift the responsibility of ensuring updates to the person using the language server
  3. Everyone else ignores it too? (eg: v8, chromium)

Merge request reports

Loading