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

Re: git-subtree

From
David A. Greene <greened@obbligato.org>
Date
Jan 29, 2012, 22:07 UTC
Message-ID
<87aa56kvr4.fsf@smith.obbligato.org>
In-Reply-To
<87zke2yv27.fsf@smith.obbligato.org>
greened@obbligato.org (David A. Greene) writes:
Show 11 quoted lines
>> I'd favor keeping the history and doing the munge-overlay thing.
>
> Ok, that sounds fine to me.  I'll do that in a private branch.  What
> should I send as patches to the mailing list?  I'm assuming we don't
> want [PATCH 235/12342], etc. sent to the list chronicling the entire
> history.  :)
>
>> Although part of me wants to join the histories in a subtree so that we
>> can use "git subtree" to do it (which would just be cool),
>
> Heh.  I thought about that too.  :)

I actually did end up doing a subtree merge via git subtree. It was more convenient to put it in contrib/ like that as almost everthing there is in its own subdirectory.

I'm cleaning things up there to remove redundancy, rewrite tests (using earlier work), etc. What number should I use for git-subtree tests? Here are some logical candidates:

        5 - the pull and exporting commands
        6 - the revision tree commands (even e.g. merge-base)
        7 - the porcelainish commands concerning the working tree
        9 - the git tools

git-subtree can pull and export. It also affects revision trees (it merges, for example) and is a porcelainish command that affects the working tree. It is also a "git tool" of a sort.

I originally put them under t97XX but now that is taken, as is everything up to and including t99XX.

Anyone have a strong opinion?
Thanks!
                           -Dave
Previous: David A. GreeneNext: David A. Greene
Message 10 of 15 in “git-subtree”
  1. David GreeneJan 4, 2012
  2. Ramkumar RamachandraJan 5, 2012
  3. David A. GreeneJan 5, 2012
  4. Ramkumar RamachandraJan 5, 2012
  5. David A. GreeneJan 5, 2012
  6. David A. GreeneJan 6, 2012
  7. David A. GreeneJan 5, 2012
  8. Jeff KingJan 5, 2012
  9. David A. GreeneJan 5, 2012
  10. David A. GreeneJan 29, 2012
  11. David A. GreeneJan 30, 2012
  12. David A. GreeneJan 5, 2012
  13. Junio C HamanoJan 5, 2012
  14. David A. GreeneJan 5, 2012
  15. David A. GreeneJan 5, 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.