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

Re: Submodules can't work recursively because Git implements policy?

From
KLKlas Lindberg <klas.lindberg@gmail.com>
Date
Apr 6, 2009, 14:47 UTC
Message-ID
<33f4f4d70904060747h72019846gca18255bd71adc22@mail.gmail.com>
In-Reply-To
<20090406135618.GA17793@pvv.org>
On Mon, Apr 6, 2009 at 3:56 PM, Finn Arne Gangstad <finnag@pvv.org> wrote:
> Yes, I could not agree more.  You may also end up writing some really
> complicated wrappers around git push to get things going (where do you
> push, for example). We made some interesting "concept art" around this
> last year at $dayjob, but decided to drop it.
I don't see how pushing could work at all without recursion.
> Maybe the security concerns could be handled by adding some
> functionality to (quickly) get rid of unwanted commits?

Why not simply allow users with write permissions to "pop" revisions from the top of the history DAG in a way that actually really deletes the them? Or at least moves those commits to a separate, locked down DAG that cannot be read by people without write permissions?

But anyway: If I implement support for fetching SHA keys and full recursive behaviour in the presence of submodules; would my patches automatically be rejected because of the rationale for the current behaviour?

/Klas
Previous: Finn Arne GangstadNext: Shawn O. Pearce
Message 3 of 5 in “Submodules can't work recursively because Git implements policy?”
  1. Klas LindbergApr 6, 2009
  2. Finn Arne GangstadApr 6, 2009
  3. Klas LindbergApr 6, 2009
  4. Shawn O. PearceApr 6, 2009
  5. Klas LindbergApr 6, 2009

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.