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

Re: git-subtree Next Round Ready

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 28, 2012, 22:45 UTC
Message-ID
<7vobrgs5tb.fsf@alter.siamese.dyndns.org>
In-Reply-To
<87398we3ox.fsf@smith.obbligato.org>
greened@obbligato.org writes:
Show 5 quoted lines
> There are three branches.  master is the usual.  "subtree-latest" is my
> version of git-subtree cleaned up for upstreaming into contrib/.  This
> is the pure git-subtree history, ready to be subtree merged.
> "subtree-integrated" is a version of upstream git.git with
> subtree-latest merged as a subtree (done via git-subtree!).

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.

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.

Further development after that point can continue in-tree just like any other contrib subsystems like "completion/" and "fast-import/git-p4".

Previous: greened@obbligato.orgNext: greened@obbligato.org
Message 2 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.