From: Martin Langhoff Date: Mon, 22 Jan 2007 00:24:08 GMT Subject: Re: git-push through git protocol Message-ID: <46a038f90701211624y19e83999k291408764bccc645@mail.gmail.com> In-Reply-To: <17843.65339.528621.549961@lisa.zopyra.com> On 1/22/07, Bill Lear wrote: > On Monday, January 22, 2007 at 12:49:02 (+1300) Martin Langhoff writes: > >On 1/22/07, Bill Lear wrote: > >> 2) we have run into problems > >> with developers having different umasks --- > > > >This is a non-issue. Just do git-repo-config core.sharedrepository 1 > >on each repo. > > Does this have the same effect as 'git --bare init-db --shared'? > If so, I thought that was the way we initialized our company repo, > though our config file reads: > > [core] > repositoryformatversion = 0 > filemode = true You should check your repos, ours all have [core] sharedrepository = true which I manually set doing GIT_DIR=xx.git git-repo-config core.sharedrepository true and the group is set to "git" which all our devs are part of. Works great. WRT denyNonFastforwards -- even without that, git refuses to push if it's not a fast-forward. Maybe if I had the branch set to +headname. In any case, you have to try real hard to muck that up. cheers m