Re: Cogito: cg-clone doesn't like packed tag objects
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:11
Dear diary, on Sat, Sep 24, 2005 at 08:10:40PM CEST, I got a letter where Junio C Hamano [off-list ref] told me that...
quoted
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.