From: Andreas Ericsson Date: Thu, 21 Sep 2006 09:07:35 GMT Subject: Re: [PATCH 1/2] gitweb: Always use git-peek-remote in git_get_references Message-ID: <45125657.4010001@op5.se> In-Reply-To: <200609202013.38457.jnareb@gmail.com> Jakub Narebski wrote: > > If there were post-commit hook, and it's contents was the default > post-update hook, info/refs would be never stale. And we could read > from into/refs, and fallback to git-peek-remote if it doesn't exist... > but we don't know if info/refs has current info. ls -l .git/hooks/post-commit -rw-r----- 1 exon exon 152 Sep 21 10:54 .git/hooks/post-commit My post-update hook doesn't maintain info/refs for me. I'm sure that if someone set it up to do so they would also set the post-commit hook up to do the same. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231