From: Junio C Hamano Date: Tue, 07 Feb 2006 21:17:13 GMT Subject: Re: git-http-push and hooks Message-ID: <7vwtg6uaw6.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060207202351.GA3833@reactrix.com> Nick Hengeveld writes: > There are options for a DAV-only environment though. While the hooks > themselves can't be run, git-http-push can be modified to update the > remote pack and ref info (although it's not clear to me under what > conditions it should do so...) DAV-specific versions of pack > management utilities are feasible as well. If the server info updates is the _only_ problem, then perhaps that would be the easiest and cleanest. Whenever you update or add a ref you would need to update info/refs (otherwise ls-remote would not give you the latest info), and whenever you repack you would need to update objects/info/packs. You may probably want to have a CGI to allow you manage the repository remotely anyway, to trigger a repack or remove a stale branch head, for example. Once you go that route maybe having the CGI to do something like the pack protocol for more efficient transfer might become more attractive.