Re: [PATCH] provide advance warning of some future pack default changes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 17, 2007, 22:55 UTC
- Message-ID
- <7vprx553u4.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071217223055.GI13515@fieldses.org>
"J. Bruce Fields" <bfields@fieldses.org> writes:
Show 8 quoted lines
> Hm. We tell people to set up public repo's by doing something like: > > git clone --bare ~/proj proj.git > touch proj.git/git-daemon-export-ok > scp -r proj.git example.com: > > Is that going to hit the same problem if the public server has an older > git version?
It will, but I think you should teach people --mirror pushing these days, which was specifically invented for priming the public repository.
That way, the administrator at example.com, as long as he initializes an empty repository with suitable daemon-export-ok and necessary hooks (which can be automated via templates), does not even have to allow you a full ssh access.