[PATCH] D57400: Add a .gitignore file to the root that ignores any files outside of the project directories.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 11:08:47 PST 2019


pcc abandoned this revision.
pcc added a comment.

In D57400#1375796 <https://reviews.llvm.org/D57400#1375796>, @jyknight wrote:

> Mmm, I think this adding a default /* ignore is setting us up for problems. I'd be okay with a default ignore for '/build*', though.


That won't work as well for me because I don't name my build directories that way (I use short 1-2 character names to minimise typing). I also tend to put scratch files in the project root which aren't named in any particular way.

> Do note also that users can ignore whatever they wish to locally by doing e.g. 'echo /my-special-build >> .git/info/excludes'

I'll probably just set up the excludes then. It's slightly less convenient for me because I'd need to set that up in each of my worktrees, but I can live with that.


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

https://reviews.llvm.org/D57400





More information about the llvm-commits mailing list