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

Re: Partial checkouts / submodules

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 20, 2007, 19:15 UTC
Message-ID
<Pine.LNX.4.64.0711201401090.32410@iabervon.org>
In-Reply-To
<87ir3wzqzj.fsf@osv.gnss.ru>
On Tue, 20 Nov 2007, Sergei Organov wrote:
> I got the same impression, and then I wonder if the next logical thing
> the OP will need is, say, support for content moves between
> submodules. Somehow I doubt git will ever support that.

I don't see why not. If you tell the diff engine to look for content moves, and you tell it to descend into submodules that you have, and you have both ends of the content move, and you're looking at a supermodule commit where such a content move happened, it should show it.

If any of these aren't true (and I don't think we have a "descend into available submodules" option currently), you won't see it as a content move, but you wouldn't expect to; you don't want to get a diff that says: "move from (path you don't have) to (path you have)", with the diff showing changes in the process, when you didn't have the original.

	-Daniel
*This .sig left intentionally blank*
Previous: Sergei Organov
Message 13 of 13 in “Partial checkouts / submodules”
  1. Finn Arne GangstadNov 20, 2007
  2. Sven VerdoolaegeNov 20, 2007
  3. Finn Arne GangstadNov 20, 2007
  4. Sven VerdoolaegeNov 20, 2007
  5. Daniel BarkalowNov 20, 2007
  6. Finn Arne GangstadNov 20, 2007
  7. Daniel BarkalowNov 20, 2007
  8. Jakub NarebskiNov 21, 2007
  9. Daniel BarkalowNov 20, 2007
  10. Steven GrimmNov 20, 2007
  11. Daniel BarkalowNov 20, 2007
  12. Sergei OrganovNov 20, 2007
  13. Daniel BarkalowNov 20, 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.