Re: What .gitignore files do in the tarball?

From: Euler Taveira <euler(at)timbira(dot)com(dot)br>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: What .gitignore files do in the tarball?
Date: 2015-11-26 02:58:39
Message-ID: 5656755F.5080509@timbira.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 25-11-2015 10:40, Michael Paquier wrote:
>
>
> On Wed, Nov 25, 2015 at 4:36 PM, Victor Wagner <vitus(at)wagner(dot)pp(dot)ru
> <mailto:vitus(at)wagner(dot)pp(dot)ru>> wrote:
>
> 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?
>
>
> They are harmless and do not consume that much space in a tarball,
> contrary to .git/ which has the whole history of the repository. And
> this behavior matches for example git-archive. Keeping them also has the
> advantage to allow people to deploy a tarball easily in an orphan branch
> of a fresh git repository. In a couple of companies where people can
> just work from tarballs (this exists and I know some), that's actually
> useful to keep them.
>
Even if they are small, git use will be limited without .git directory.
The weird setup you mentioned above could be used but imho it is rare.
People who want to work on tarballs are not interested in repository
history or which file belongs to repository. If someone wants to develop
a patch, we should advice him/her to use git.

+1 to remove all of those files.

--
Euler Taveira Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2015-11-26 04:29:37 Re: WIP: About CMake v2
Previous Message Robert Haas 2015-11-26 02:41:32 parallel joins, and better parallel explain