Обсуждение: Exclude core dumps from project - example patch
Hi. I am learn the git. For test my skills, here is patch to exclude core dumps from git tree. Author: pasman <pasman.p@gmail.com> 2011-07-19 10:27:50 Committer: pasman <pasman.p@gmail.com> 2011-07-19 10:27:50 Parent: 6307fff3586294214e3f256035b82bbba9a9054a (Fix typo) Branch: master Follows: REL9_1_BETA2 Precedes: Include core dumps in .gitignore ---------------------------------- .gitignore ---------------------------------- index 1e15ce5..64e3dee 100644 @@ -21,6 +21,8 @@ lcov.infowin32ver.rc*.exelib*dll.def +#Exclude core dumps on Mingw32 +*.stackdump # Local excludes in root directory/GNUmakefile
pasman pasmański <pasman.p@gmail.com> writes:
> I am learn the git. For test my skills, here is patch to exclude core
> dumps from git tree.
This doesn't seem like a particularly good idea. The project policy is
to exclude only files that would normally appear during a build, and not
cruft that might be generated by unexpected events. You might consider
excluding such files in a personal ~/.gitconfig, if you would prefer to
have git not tell you that your source tree is cluttered with them.
See the core.excludesfile setting.
regards, tom lane