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

Re: [PATCH v2] git checkout -b: unparent the new branch with -o

From
Erick Mattos <erick.mattos@gmail.com>
Date
Mar 14, 2010, 21:57 UTC
Message-ID
<55bacdd31003141457x74222a79lc060112d20dbbe4c@mail.gmail.com>
In-Reply-To
<m38w9wlg7i.fsf@localhost.localdomain>
Hi,
You got it right.  HTML and man branches are really very good examples.
Regards
2010/3/13 Jakub Narebski <jnareb@gmail.com>:
Show 32 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>>     Side note: The other two "disjoint" merges we have are also this kind
>>     of "no common paths" merge.  Nobody who was involved in the branches
>>     that resulted in them prepared his branch with --orphan, by the way.
>>     They started out in independent repositories, because they were by
>>     definition independent projects and these were "cross project merges",
>>     as Linus put it.
>
> Note that beside "disjoint" merges ("cross project merges"), of gitk,
> git-gui, gitweb and (very early in git history) git mail tools, there
> are also three "disjoint"/"unparented" branches: 'html', 'man' and
> 'todo'.
>
> While 'todo' is totally unrelated, and if instead of starting in
> separate repository it would be created using proposed feature, it
> would be created with "no common paths" case.
>
> BUT in the case of 'html' and 'man' branches I could see why current
> implementation of _removing index and not removing files_ might be
> advantageous.  Remove index, create HTML and manpage version of
> documentation, and add HTML (in 'html' branch) or manpages (in 'man'
> branch)... probably shifting root, so it is not all in single
> Documentation directory.
>
> Just my 2 eurocents.
>
> --
> Jakub Narebski
> Poland
> ShadeHawk on #git
>
Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 17 in “git checkout -b: unparent the new branch with -o”
  1. git checkout -b: unparent the new branch with -oErick Mattos, Mar 9, 2010
  2. Junio C HamanoMar 12, 2010
  3. Bert WesargMar 12, 2010
  4. David KågedalApr 27, 2010
  5. Erick MattosMar 12, 2010
  6. Junio C HamanoMar 13, 2010
  7. Junio C HamanoMar 13, 2010
  8. Erick MattosMar 14, 2010
  9. Junio C HamanoMar 15, 2010
  10. Erick MattosMar 16, 2010
  11. Jakub NarebskiMar 13, 2010
  12. Junio C HamanoMar 13, 2010
  13. Erick MattosMar 14, 2010
  14. Junio C HamanoMar 15, 2010
  15. Erick MattosMar 16, 2010
  16. Erick MattosMar 14, 2010
  17. Erick MattosMar 14, 2010

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.