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

Re: git-subtree Next Round Ready

From
greened@obbligato.org <greened@obbligato.org>
Date
Apr 1, 2012, 18:00 UTC
Message-ID
<87mx6v49id.fsf@smith.obbligato.org>
In-Reply-To
<7vobrgs5tb.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> I do not see the point of your subtree branch, especially after 1f30551
> (Set TEST_DIRECTORY, 2012-03-20) where it starts depending on files
> outside its top-level directory. At that point, the tree ceases to be
> viable as a standalone project.

The point of the branch was to provide an easy reference to subtree merge into the main git repository. I have no intention of keeping a separate git-subtree project.

Show 16 quoted lines
> I think it would make more sense, from the history viewpoint, to:
>
>  - Stop the history of the "subtree" branch at commit d3a04e0 (Use Test
>    Harness, 2012-01-29);
>
>  - Create "for-upstream" branch that is a fork of 1.7.10 (when tagged);
>
>  - On "for-upstream" branch, add all the files from d3a04e0 (Use Test
>    Harness, 2012-01-29) to contrib/subtree, and record it as a merge
>    between 1.7.10 and d3a04e0 (you can use subtree merge for this); and
>    finally
>
>  - Replay the commits between d3a04e0 and the tip of your current
>    "subtree" branch on top of "for-upstream".
>
> And then have me pull the "for-upstream" branch.
Ok, that sounds fine to me.
> Further development after that point can continue in-tree just like any
> other contrib subsystems like "completion/" and "fast-import/git-p4".
Yep, sounds good!
                         -Dave
Previous: Junio C HamanoNext: greened@obbligato.org
Message 3 of 6 in “git-subtree Next Round Ready”
  1. greened@obbligato.orgMar 25, 2012
  2. Junio C HamanoMar 28, 2012
  3. greened@obbligato.orgApr 1, 2012
  4. greened@obbligato.orgApr 10, 2012
  5. Junio C HamanoApr 10, 2012
  6. greened@obbligato.orgApr 10, 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.