From: | Victor Wagner <vitus(at)wagner(dot)pp(dot)ru> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | What .gitignore files do in the tarball? |
Date: | 2015-11-25 07:36:58 |
Message-ID: | 20151125103658.7fd5dad3@fafnir.local.vm |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Collegues,
I've noticed that source distribution archive of the postgresql contain
more than hundred of .gitignore files and one .gitattributes.
Is it just a bug nobody bothered to fix, or these files can make
any sense outside git repository?
Fix of the problem is quite trivial:
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 15fba9f..beef51a 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -93,7 +93,7 @@ distdir-location:
distdir:
rm -rf $(distdir)* $(dummy)
- for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o
\( -name .git -prune \) -o -print`; do \
+ for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o
\( -name .git -prune \) -o \( \! -name ".git*" -print \)`; do \
file=`expr X$$x : 'X\./\(.*\)'`; \ if test -d "$(top_srcdir)/$$file" ;
then \ mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \
--
Victor Wagner
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2015-11-25 07:48:25 | Re: Revisiting pg_stat_statements and IN() (Was: Re: pg_stat_statements fingerprinting logic and ArrayExpr) |
Previous Message | Haribabu Kommi | 2015-11-25 07:05:20 | Re: pg_hba_lookup function to get all matching pg_hba.conf entries |