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

Re: hmm, can't we give the "root" a parent?

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Sep 12, 2005, 18:27 UTC
Message-ID
<4325C89F.1030406@gmail.com>
In-Reply-To
<20050912181101.GA22221@vrfy.org>
Kay Sievers wrote:
Show 7 quoted lines
> Can't we teach the git tools that a "root commit" (one without a any
> parent) is not visible as a "root", if let's say:
>   .git/parents/<root-commit-id> -> <fake-parent-id>
> 
> does connect a "fake" parent to the "root"? This way we could add any
> older Linux history to the current tree. Combined with "alternates" it
> could live in a complete different repository too.
Already done. Search the following for "info/grafts".
http://www.kernel.org/pub/software/scm/git/docs/repository-layout.html
Previous: Kay SieversNext: Tony Luck
Message 11 of 13 in “hmm, can't we give the "root" a parent?”
  1. Kay SieversSep 12, 2005
  2. Linus TorvaldsSep 12, 2005
  3. Kay SieversSep 12, 2005
  4. Linus TorvaldsSep 12, 2005
  5. Kay SieversSep 12, 2005
  6. Linus TorvaldsSep 12, 2005
  7. Kay SieversSep 12, 2005
  8. Linus TorvaldsSep 12, 2005
  9. Linus TorvaldsSep 12, 2005
  10. Kay SieversSep 12, 2005
  11. A Large Angry SCMSep 12, 2005
  12. gitweb search in multi-headed treeTony Luck, Sep 16, 2005
  13. Kay SieversSep 17, 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.