[PATCH] D146880: Make git ignore core files
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 25 10:42:03 PDT 2023
aidengrossman created this revision.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I have accidentally committed a core file once
(https://github.com/llvm/llvm-project/commit/af73834243a1035787935960bfd5a71713b89701)
due to not paying close enough attention to commit diffs and my CWD.
This patch adds rule in .gitignore to ignore core files so that the same
mistake is less likely to happen again.`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146880
Files:
.gitignore
Index: .gitignore
===================================================================
--- .gitignore
+++ .gitignore
@@ -22,6 +22,8 @@
.sw?
#OS X specific files.
.DS_store
+# Ignore core files that might accidentally end up in the repository.
+*core
# Ignore the user specified CMake presets in subproject directories.
/*/CMakeUserPresets.json
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146880.508326.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230325/3cf5fedb/attachment.bin>
More information about the llvm-commits
mailing list