pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedIgnore automatically-generated files in source code with .gitignore
3+ messages / 2 participants
[nested] [flat]
* Ignore automatically-generated files in source code with .gitignore
@ 2013-07-08 04:06 Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Paquier @ 2013-07-08 04:06 UTC (permalink / raw)
To: pgsql-odbc
Hi all,
A lot of files are automatically generated when invocating autoreconf
and configure (config/*, Makefile.in, etc.) to set up a build for
ODBC. As ODBC has been moved to git, I think that it would be better
add a .gitignore file at the root folder of code tree to ignore all
the files that are automatically generated. This is useful to prevent
accidental commit of files that are not wanted in the remote
repository. Please find attached a simple patch adding that.
Regards,
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Attachments:
20130708_odbc_gitignore.patch (application/octet-stream, 618B) download
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dc9a9ae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,41 @@
+# Global excludes across all subdirectories
+*.o
+*.so
+*.so.[0-9]
+*.so.[0-9].[0-9]
+*.sl
+*.sl.[0-9]
+*.sl.[0-9].[0-9]
+*.dylib
+*.dll
+*.a
+*.mo
+*.lo
+.deps/
+.libs/
+*.gcno
+*.gcda
+*.gcov
+*.gcov.out
+lcov.info
+*.vcproj
+*.vcxproj
+win32ver.rc
+*.exe
+lib*dll.def
+lib*.pc
+
+# Files generated during compilation
+/Makefile
+/Makefile.in
+/aclocal.m4
+/autom4te.cache/
+/config/
+/config.h
+/config.h.in
+/config.log
+/config.status
+/configure
+/libtool
+/psqlodbcw.la
+/stamp-h1
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Ignore automatically-generated files in source code with .gitignore
@ 2013-07-10 14:47 Hiroshi Inoue <inoue@tpf.co.jp>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Hiroshi Inoue @ 2013-07-10 14:47 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-odbc
Hi Michael,
(2013/07/08 13:06), Michael Paquier wrote:
> Hi all,
>
> A lot of files are automatically generated when invocating autoreconf
> and configure (config/*, Makefile.in, etc.) to set up a build for
> ODBC. As ODBC has been moved to git, I think that it would be better
> add a .gitignore file at the root folder of code tree to ignore all
> the files that are automatically generated. This is useful to prevent
> accidental commit of files that are not wanted in the remote
> repository. Please find attached a simple patch adding that.
I pushed your change to git together with VC build tools related
or WIX tools related entries.
Thanks.
regards,
Hiroshi Inoue
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Ignore automatically-generated files in source code with .gitignore
@ 2013-07-10 22:00 Michael Paquier <michael.paquier@gmail.com>
parent: Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 0 replies; 3+ messages in thread
From: Michael Paquier @ 2013-07-10 22:00 UTC (permalink / raw)
To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc
On Wed, Jul 10, 2013 at 11:47 PM, Hiroshi Inoue <inoue@tpf.co.jp> wrote:
> I pushed your change to git together with VC build tools related
> or WIX tools related entries.
> Thanks.
Thanks a lot.
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2013-07-10 22:00 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 04:06 Ignore automatically-generated files in source code with .gitignore Michael Paquier <michael.paquier@gmail.com>
2013-07-10 14:47 ` Hiroshi Inoue <inoue@tpf.co.jp>
2013-07-10 22:00 ` Michael Paquier <michael.paquier@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox