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

Re: git-subtree split O(N)

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
May 1, 2012, 03:03 UTC
Message-ID
<86aa1sr4a9.fsf@red.stonehenge.com>
In-Reply-To
<CA+EzHGfiRg+w8FsvrXEi0Yr4oVzxaZA_1JT8cmRR0YrYG7m6AQ@mail.gmail.com>
>>>>> "Vinnie" == Vinnie Falco <vinnie.falco@gmail.com> writes:

Vinnie> I'm using git-subtree split to extract changes to a directory Vinnie> previously added with git-subtree add, in my local repository. The Vinnie> split is going into its own branch, which I then push to the upstream.

Vinnie> The problem is that every time I split, git-subtree starts from the Vinnie> very beginning of the commit log and works its way forward. I thought Vinnie> that it was only supposed to do that once, and that subsequent splits Vinnie> would start from the last commit in the destination branch (I keep the Vinnie> split branch around).

Are you using -rejoin?
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
Previous: Vinnie FalcoNext: Vinnie Falco
Message 2 of 4 in “git-subtree split O(N)”
  1. Vinnie FalcoMay 1, 2012
  2. Randal L. SchwartzMay 1, 2012
  3. Vinnie FalcoMay 1, 2012
  4. dag@cray.comMay 1, 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.