Re: git-push through git protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/22/07, Bill Lear <rael@xxxxxxxxxx> wrote:
On Monday, January 22, 2007 at 12:49:02 (+1300) Martin Langhoff writes:
>On 1/22/07, Bill Lear <rael@xxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]