Re: What .gitignore files do in the tarball?
От | Michael Paquier |
---|---|
Тема | Re: What .gitignore files do in the tarball? |
Дата | |
Msg-id | CAB7nPqSY68ZhPMV4v6JQ9ncV=4F-_-irU9yCZX2nKhgSEW2O3Q@mail.gmail.com обсуждение исходный текст |
Ответ на | What .gitignore files do in the tarball? (Victor Wagner <vitus@wagner.pp.ru>) |
Ответы |
Re: What .gitignore files do in the tarball?
Re: What .gitignore files do in the tarball? |
Список | pgsql-hackers |
On Wed, Nov 25, 2015 at 4:36 PM, Victor Wagner <vitus@wagner.pp.ru> wrote:
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.
-- 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.
Michael
В списке pgsql-hackers по дате отправления: