Re: [HACKERS] .gitignore config.cache and comment about regression.(out|diff)

2014-12-18 Thread Fujii Masao
On Tue, Dec 16, 2014 at 9:47 AM, Jim Nasby jim.na...@bluetreble.com wrote:
 config.cache is created when you pass -C to configure, which speeds it up
 considerably (3.5s vs 16.5 on my laptop). It would be nice to just ignore
 the cache file it generates.

 Originally this patch also ignored the regression output files, until I
 realized why that was a bad idea. Add a comment about that.

Applied.

Regards,

-- 
Fujii Masao


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


[HACKERS] .gitignore config.cache and comment about regression.(out|diff)

2014-12-16 Thread Jim Nasby

config.cache is created when you pass -C to configure, which speeds it up 
considerably (3.5s vs 16.5 on my laptop). It would be nice to just ignore the 
cache file it generates.

Originally this patch also ignored the regression output files, until I 
realized why that was a bad idea. Add a comment about that.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com
From a681953a802230e73e5e4f91607eca9dd99c34f2 Mon Sep 17 00:00:00 2001
From: Jim Nasby jim.na...@bluetreble.com
Date: Mon, 15 Dec 2014 18:35:50 -0600
Subject: [PATCH] Ignore config.cache
Also add a comment about why regreesion.* aren't listed.
---
 .gitignore  | 1 +
 src/test/regress/.gitignore | 4 
 2 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 681af08..715f817 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,7 @@ lib*.pc
 
 # Local excludes in root directory
 /GNUmakefile
+/config.cache
 /config.log
 /config.status
 /pgsql.sln
diff --git a/src/test/regress/.gitignore b/src/test/regress/.gitignore
index 7573add..d0b055f 100644
--- a/src/test/regress/.gitignore
+++ b/src/test/regress/.gitignore
@@ -5,3 +5,7 @@
 /tmp_check/
 /results/
 /log/
+
+# Note: regreesion.* are only left behind on a failure; that's why they're not 
ignored
+#/regression.diffs
+#/regression.out
-- 
2.1.2


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