[HACKERS] Exclude core dumps from project - example patch

2011-07-19 Thread pasman pasmaƄski
Hi.

I am learn the git. For test my skills, here is patch to exclude core
dumps from git tree.



Author: pasman pasma...@gmail.com  2011-07-19 10:27:50
Committer: pasman pasma...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Exclude core dumps from project - example patch

2011-07-19 Thread Tom Lane
=?ISO-8859-2?Q?pasman_pasma=F1ski?= pasma...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers