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

Re: [PATCH v3 2/2] Move git-dir for submodules

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
Aug 15, 2011, 15:14 UTC
Message-ID
<20110815151435.GA1976@kolya>
In-Reply-To
<4E492D7B.50508@xiplink.com>
On Mon, Aug 15, 2011 at 10:30:19AM -0400, Marc Branchaud wrote:
Show 11 quoted lines
> On 11-08-12 03:55 PM, Fredrik Gustafsson wrote:
> > 
> > This patch will not affect already cloned submodules at all.
> 
> My question is perhaps a bit beyond the scope of this series...
> 
> Is there going to be a way to migrate submodules to the new layout?  If the
> eventual goal is to be able to delete & restore submodule working
> directories, it would be nice if that could work with submodules cloned by an
> older git.
> 

That's not planned as far as I know. However, a new clone will do that, (and of course it's quite easy to do it manually).

When git supports to delete and restore submodules that will not be done if there isn't a .git-FILE in the submodule.

-- Med vänliga hälsningar Fredrik

Previous: Marc BranchaudNext: Junio C Hamano
Message 9 of 10 in “submodule: move gitdir into superproject”
  1. 0/2 submodule: move gitdir into superprojectFredrik Gustafsson, Aug 12, 2011
  2. 1/2 rev-parse: add option --is-well-formed-git-dir [path]Fredrik Gustafsson, Aug 12, 2011
  3. Junio C HamanoAug 12, 2011
  4. Nguyen Thai Ngoc DuyAug 13, 2011
  5. Heiko VoigtAug 13, 2011
  6. Junio C HamanoAug 14, 2011
  7. 2/2 Move git-dir for submodulesFredrik Gustafsson, Aug 12, 2011
  8. Marc BranchaudAug 15, 2011
  9. Fredrik GustafssonAug 15, 2011
  10. Junio C HamanoAug 16, 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.