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

Re: [ANNOUNCE] GIT 0.99.9g

From
YSYaacov Akiba Slama <ya@slamail.org>
Date
Nov 10, 2005, 09:54 UTC
Message-ID
<437318CD.2050401@slamail.org>
In-Reply-To
<7vmzkc2a3e.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 8 quoted lines
>Although I did not hear anybody jumping up-and-down to merge
>svnimport updates from Yaacov Akiba Slama, I did not hear it
>broke things either, so it graduated to the master branch and
>included in this release.  It obviously improved things for
>Yaacov, and I am hoping this would not cause disruptions for
>people's existing setup.
>  
>

Thanks for the merge. IMHO, the commit labelled "Bundle file copies from multiple branches into a merge" (109fc2b97b73090a4a0a6550cdf9b2446fd12389) needs more attention/discussion.

In svn, there is no concept of branches or tag, but because the copy is cheap, directories are used to simulate branches and tags. The repository will be like :

/trunk/path/to/file /branches/branch_1/path/to/file /branches/branch_n/path/to/file /tags/tag_1/path/to/file /tags/tag_m/path/to/file

Now, someone can copy directory or files from the trunk or any branch/tag into any other directory. For instance one can commit the following tree as a new revision :

/trunk/path/to/file /trunk/new/path/to/file (this is a copy of /branches/branch_1/path/to/file) /branches/branch_1/path/to/file /branches/branch_n/path/to/file /tags/tag_1/path/to/file /tags/tag_m/path/to/file

Now the commit 109fc2b97b73090a4a0a6550cdf9b2446fd12389 creates a new 
commit with two parents:
1) HEAD
2) the git branch called "branch_1"
 From what I read about the definition of commit in git's documentation, 
that seems to be ok, but can this marking of  "branch_1" as a parent of 
this commit be dangerous for merges done later in pure git ?
--yas
Previous: Petr BaudisNext: Junio C Hamano
Message 13 of 29 in “[ANNOUNCE] GIT 0.99.9g”
  1. Junio C HamanoNov 10, 2005
  2. Jeff GarzikNov 10, 2005
  3. H. Peter AnvinNov 10, 2005
  4. Andreas EricssonNov 10, 2005
  5. H. Peter AnvinNov 11, 2005
  6. Andreas EricssonNov 12, 2005
  7. Junio C HamanoNov 11, 2005
  8. Andreas EricssonNov 12, 2005
  9. Junio C HamanoNov 14, 2005
  10. Andreas EricssonNov 14, 2005
  11. Junio C HamanoNov 14, 2005
  12. Petr BaudisNov 14, 2005
  13. Yaacov Akiba SlamaNov 10, 2005
  14. Junio C HamanoNov 10, 2005
  15. H. Peter AnvinNov 10, 2005
  16. Junio C HamanoNov 10, 2005
  17. Petr BaudisNov 10, 2005
  18. Daniel BarkalowNov 10, 2005
  19. Junio C HamanoNov 10, 2005
  20. Daniel BarkalowNov 10, 2005
  21. Linus TorvaldsNov 10, 2005
  22. Linus TorvaldsNov 10, 2005
  23. H. Peter AnvinNov 11, 2005
  24. Johannes SchindelinNov 11, 2005
  25. H. Peter AnvinNov 11, 2005
  26. Jim RadfordNov 10, 2005
  27. Andreas EricssonNov 10, 2005
  28. Junio C HamanoNov 10, 2005
  29. Jim RadfordNov 11, 2005

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.