Re: .gitignore for some of cygwin files
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Radosław Smogura <rsmogura@softperience.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-09T14:22:42Z
Lists: pgsql-hackers
On Thu, Jun 9, 2011 at 15:40, Andrew Dunstan <andrew@dunslane.net> wrote: > > > On 06/09/2011 08:12 AM, Magnus Hagander wrote: >> >> On Wed, Jun 8, 2011 at 12:34, Radosław Smogura<rsmogura@softperience.eu> >> wrote: >>> >>> After compilation I got big list of differences about binaries and other >>> files. You may see it in patch. >> >> Hmm. Does this really affect just cygwin, and not also mingw? > > Yes, indeed. > >> I know >> msvc builds out-of-tree, but mingw doesn't, iirc? WHere do the EXEs go >> there? > > > The .exe files go exactly where linked executables go on Unix. We could add > .gitignore lines for them just as we have for Unix, e.g. by adding > "/initdb.exe" to src/bin/initdb.gitignore, or more simply by adding a global > rule for "*.exe" as the patch proposes. I think a global exclude for *.exe makes perfect sense. I don't see why we would ever want to commit a .exe file to the repository... -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/