Exclude core dumps from project - example patch

Started by pasman pasmańskiover 14 years ago2 messages
#1pasman pasmański
pasman.p@gmail.com

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.info
 win32ver.rc
 *.exe
 lib*dll.def
+#Exclude core dumps on Mingw32
+*.stackdump

# Local excludes in root directory
/GNUmakefile

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: pasman pasmański (#1)
Re: Exclude core dumps from project - example patch

=?ISO-8859-2?Q?pasman_pasma=F1ski?= <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