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

Re: What is in git.git

From
Junio C Hamano <junkio@cox.net>
Date
Jan 21, 2006, 22:22 UTC
Message-ID
<7vu0bxjk5j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vek31mkyg.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 13 quoted lines
> Alexander Litvinov <lan@ac-sw.com> writes:
>...
>> subpro and main are separate projects and master is the join
>> of them. If I want to modify subpro I have to checkout subpro
>> branch, edit files. When I have to got to master and bind new
>> version of subpro to it.
>
> I do not see any problem with this....
>...
>> Worse, if I will edit subpro's files bined to master branch
>> changes will go to master branch instead of subpro's history.
>
> Simply untrue.

Sorry, these came out somewhat in a wrong way, so let me clarify.

What I meant was that there isn't anything coded so far that makes your worries real issues yet, and I do not intend to code Porcelainish scripts that are broken in the ways you see as problems in your message.

The point you raised are valid concerns. You need to keep them in mind when you start writing subproject aware version of git-checkout, git-commit and git-merge commands (among other things I might have forgotten, but I think these three covers pretty much everything). You are welcome to beat me to it, since I am not planning to do them right away.

Previous: Junio C HamanoNext: Josef Weidendorfer
Message 4 of 14 in “What is in git.git”
  1. Junio C HamanoJan 21, 2006
  2. Alexander LitvinovJan 21, 2006
  3. Junio C HamanoJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Josef WeidendorferJan 21, 2006
  6. Junio C HamanoJan 22, 2006
  7. Josef WeidendorferJan 24, 2006
  8. Petr BaudisJan 22, 2006
  9. Daniel BarkalowJan 22, 2006
  10. Junio C HamanoJan 22, 2006
  11. Daniel BarkalowJan 22, 2006
  12. Junio C HamanoJan 22, 2006
  13. Junio C HamanoJan 22, 2006
  14. Alexander LitvinovJan 21, 2006

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.