From: Petr Baudis Date: Wed, 09 Nov 2005 22:33:04 GMT Subject: Re: Cogito: cg-clone doesn't like packed tag objects Message-ID: <20051109223303.GG30496@pasky.or.cz> In-Reply-To: <7virwqwd3z.fsf@assigned-by-dhcp.cox.net> Dear diary, on Sat, Sep 24, 2005 at 08:10:40PM CEST, I got a letter where Junio C Hamano told me that... > > default post-update hook could change to > > > > [ -e "$_git/git-dummy-support" ] && exec git-update-server-info > > > > and be enabled by default? > > That is a thought. While I think doing update-server-info > everywhere whenever you update ref is going a bit overboard, I > agree there should be an easy way for the end user to keep > repositories that are public accessible all times. But running > server-info upon every commit does not make much sense to me -- > something is seriously broken if we need to do that. Point taken, you are right. BTW, Cogito has for a while the command 'cg-admin-setuprepo' which is designed to be used to create those public accessible repositories where you typically only push to. Recently, I've also changed it so that it just enables the default post-update hook; is it safe to assume that the default template post-update hook shipped with GIT will be good-to-be-autoenabled on public repositories and will always contain the git-update-server-info invocation (unless it becomes irrelevant in the future) ? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.