]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
.gitignore: add multiple items to .gitignore
authorWang, Lei <lei4.wang@intel.com>
Thu, 20 Oct 2022 17:19:21 +0000 (17:19 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 22 Oct 2022 20:48:17 +0000 (22:48 +0200)
Add /.vscode/, .clang-format and .gdb_history to .gitignore because:

 - For VSCode, workspace settings as well as debugging and task
 configurations are stored at the root in a .vscode folder;
 - For ClangFormat, the .clang-format file is searched relative to
 the current working directory when reading stdin;
 - For GDB, GDB command history file defaults to the value of the
 environment variable GDBHISTFILE, or to ./.gdb_history if this
 variable is not set.

Signed-off-by: Wang, Lei <lei4.wang@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221020171921.1078533-1-lei4.wang@intel.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
.gitignore

index 8aab671265e80b3bfb0c66889d706d2a9280ad22..61fa39967b542df2b25aac603f0fbae920706cb9 100644 (file)
@@ -1,10 +1,13 @@
 /GNUmakefile
 /build/
 /.cache/
+/.vscode/
 *.pyc
 .sdk
 .stgit-*
 .git-submodule-status
+.clang-format
+.gdb_history
 cscope.*
 tags
 TAGS