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

Re: Opera release Git-splitter, a sub-modularizing tool for Git

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Dec 21, 2012, 15:49 UTC
Message-ID
<vpqhanf2yny.fsf@grenoble-inp.fr>
In-Reply-To
<op.wpn9d6xuvqd7e2@damia.oslo.osa>
"Yngve Nysaeter Pettersen" <yngve@opera.com> writes:
Show 16 quoted lines
> The split command will create a new repository for all files foo in a
> folder (path/foo) and their commit history.
>
> The replant command reverses that process, re-adding the path prefix
> for each file. It may be possible to extend that process into one that
> automatically reintegrates the new commits in the original history,
> but I never had time to complete that work.
>
> I did originally add the "replant" functionality into my version of
> the git-subtree script, but given the number of commits in the
> original repository, git-subtree turned out to be inefficient, due to
> the use of temporary files (tens of thousands of files IIRC).
>
> Those problems led to my development of git-splitter in Python
> (bypassing the problem of temporary files), but just including the
> functionality I needed, join was not one of those functions.

That still doesn't answer the question: why did you need to write a new tool instead of extending git-subtree?

If one doesn't use "replant", is your tool different from git-subtree?
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Yngve Nysaeter PettersenNext: Yngve Nysaeter Pettersen
Message 6 of 8 in “Opera release Git-splitter, a sub-modularizing tool for Git”
  1. Yngve N. Pettersen (Developer Opera Software ASA)Dec 18, 2012
  2. Michael J GruberDec 21, 2012
  3. Yngve Nysaeter PettersenDec 21, 2012
  4. Michael J GruberDec 21, 2012
  5. Yngve Nysaeter PettersenDec 21, 2012
  6. Matthieu MoyDec 21, 2012
  7. Yngve Nysaeter PettersenDec 21, 2012
  8. Michael J GruberDec 22, 2012

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.