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

Re: Folder level Acces in git

From
Jens Lehmann <jens.lehmann@web.de>
Date
Nov 4, 2011, 08:42 UTC
Message-ID
<4EB3A565.2040408@web.de>
In-Reply-To
<4EB36855.8000802@workspacewhiz.com>
Am 04.11.2011 05:21, schrieb Joshua Jensen:
Show 13 quoted lines
> ----- Original Message -----
> From: Eugene Sajine
> Date: 11/3/2011 1:28 PM
>> Are you sure that the way your have organized the repository is
>> actually correct? If you need to manage the access on folder level why
>> don't you simply split up the project into several
>> repositories/projects which each team is going to work with
>> independently?
>>
>> This seems to me to be much simpler and cleaner solution then any
>> other alternative.
>>
> Submodules are _not_ simple at all.  Our organization of nearly 100 developers using Git pretty much let out a collective cheer when we finally removed the submodules.  Submodules are an absolute pain to develop within; there are a number of Git mailing list exchanges about that, but I'd be happy to go into great detail if anybody cares.
I do care and would appreciate if you could share your problems.
> Even submodules that are read-only are a pain as it takes two steps (git pull + git submodule update) to actually get them up to date.

Full Ack. I'm working on teaching git to update update the whole work tree - including the submodules - after each checkout, merge, pull, bisect, etc. (which also includes proper support for deletion and re-creation of submodules).

What else made using submodules hard for you?
Previous: Joshua JensenNext: Eugene Sajine
Message 6 of 7 in “Folder level Acces in git”
  1. redhat1981Nov 3, 2011
  2. Magnus BäckNov 3, 2011
  3. Jens LehmannNov 3, 2011
  4. Eugene SajineNov 3, 2011
  5. Joshua JensenNov 4, 2011
  6. Jens LehmannNov 4, 2011
  7. Eugene SajineNov 4, 2011

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.