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

Re: git-subtree Ready #2

From
Jeff King <peff@peff.net>
Date
Feb 20, 2012, 20:53 UTC
Message-ID
<20120220205346.GA6335@sigill.intra.peff.net>
In-Reply-To
<87ty2ro1zf.fsf@smith.obbligato.org>
On Wed, Feb 15, 2012 at 10:07:16PM -0600, David A. Greene wrote:
Show 10 quoted lines
> I've attached Avery's response below.  The short summary is that he
> thinks maintaining it in the vger git repository is the way to go and
> that he's fine moving patches to/from GitHub as necessary.
>
> [From Avery:]
>> I'm sure the potential benefit of putting git-subtree in the contrib/
>> directory is that we could then use git-subtree to maintain the
>> git-subtree git subtree, which is a fun wordplay, but perhaps
>> ironically, as a single rarely-changing file, git-subtree is probably
>> not the right tool for these purposes :)

I'm not a git-subtree user, nor am I the maintainer who would pull from you. So I am somewhat on the sidelines of this particular discussion.

Usually we would incubate new and radically different commands in contrib, and then if they prove to be good, make first-class commands of them (e.g., git-new-workdir has been in contrib for a while, and as it has proven itself to many people, there is talk of including it as a core command).

My impression is that git-subtree has already done this incubation and proving step in its own repository (but like I said, I do not use it myself, so that is just going on list hearsay). So it seems like the logical step would be to graduate into the main git repository. And I gather from Avery's response that he agrees.

Of course there's no real reason we can't take it slow by putting it in contrib, and then graduating from there. It just seems like an unnecessary and complicated interim step. Either way, I do think it's worth saving the commit history by doing a real merge.

I dunno. It is really up to Junio, I guess. He usually relies on list consensus for decisions like this, and there has not been that much discussion. What do users of git-subtree think, as this would primarily benefit them? And what do other members of the git@vger community who do not use git-subtree think of the burden of carrying it as a first-class command (not so much the burden of adding it, but of maintaining it, fielding reports when it is broken, etc)?

As a non-user, I am totally fine with it. I think the burden is not that high, and you have already promised to deal with ongoing maintenance issues.

-Peff
Previous: David A. GreeneNext: Junio C Hamano
Message 9 of 28 in “git-subtree Ready #2”
  1. David A. GreeneFeb 11, 2012
  2. Junio C HamanoFeb 11, 2012
  3. David A. GreeneFeb 11, 2012
  4. David A. GreeneFeb 15, 2012
  5. Jeff KingFeb 15, 2012
  6. David A. GreeneFeb 15, 2012
  7. David A. GreeneFeb 16, 2012
  8. David A. GreeneFeb 20, 2012
  9. Jeff KingFeb 20, 2012
  10. Junio C HamanoFeb 20, 2012
  11. David A. GreeneFeb 21, 2012
  12. Junio C HamanoFeb 21, 2012
  13. Junio C HamanoFeb 21, 2012
  14. Junio C HamanoFeb 21, 2012
  15. Thomas RastFeb 21, 2012
  16. Avery PennarunFeb 24, 2012
  17. Junio C HamanoFeb 24, 2012
  18. Avery PennarunFeb 24, 2012
  19. David A. GreeneFeb 25, 2012
  20. Junio C HamanoFeb 25, 2012
  21. David A. GreeneFeb 25, 2012
  22. Junio C HamanoFeb 27, 2012
  23. Jeff KingFeb 27, 2012
  24. Jeff KingFeb 27, 2012
  25. Jakub NarebskiFeb 28, 2012
  26. Avery PennarunFeb 28, 2012
  27. David A. GreeneMar 2, 2012
  28. David A. GreeneFeb 21, 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.