git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-push through git protocol

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Jan 22, 2007, 00:24 UTC
Message-ID
<46a038f90701211624y19e83999k291408764bccc645@mail.gmail.com>
In-Reply-To
<17843.65339.528621.549961@lisa.zopyra.com>
On 1/22/07, Bill Lear <rael@zopyra.com> wrote:
Show 15 quoted lines
> On Monday, January 22, 2007 at 12:49:02 (+1300) Martin Langhoff writes:
> >On 1/22/07, Bill Lear <rael@zopyra.com> 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
Previous: Bill LearNext: Jakub Narebski
Message 21 of 22 in “git-push through git protocol”
  1. Bill LearJan 21, 2007
  2. Jakub NarebskiJan 21, 2007
  3. Linus TorvaldsJan 21, 2007
  4. Bill LearJan 21, 2007
  5. Johannes SchindelinJan 21, 2007
  6. Bill LearJan 21, 2007
  7. Linus TorvaldsJan 21, 2007
  8. Linus TorvaldsJan 22, 2007
  9. Junio C HamanoJan 22, 2007
  10. Make sure git_connect() always give two file descriptors.Junio C Hamano, Jan 22, 2007
  11. Linus TorvaldsJan 22, 2007
  12. Bill LearJan 22, 2007
  13. Bill LearJan 22, 2007
  14. Linus TorvaldsJan 22, 2007
  15. Martin LanghoffJan 22, 2007
  16. Linus TorvaldsJan 22, 2007
  17. Bill LearJan 22, 2007
  18. Bill LearJan 22, 2007
  19. Martin LanghoffJan 21, 2007
  20. Bill LearJan 22, 2007
  21. Martin LanghoffJan 22, 2007
  22. Jakub NarebskiJan 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.