[PATCH] D146880: Make git ignore core files

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 18:38:17 PDT 2023


barannikov88 added a comment.

IMHO .gitignore is for files that are strictly project-related. Everything else should go into local .git/info/exclude.

> I have accidentally committed a core file once

You might as well have committed any arbitrary file, e.g. 1.txt. This does not mean '*.txt' should end up in .gitignore.
It is the committers responsibility to check that everything is OK, and there is also a review process.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146880/new/

https://reviews.llvm.org/D146880



More information about the llvm-commits mailing list