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

Re: [PATCH] Misc doc improvements

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 7, 2006, 18:46 UTC
Message-ID
<e676st$fpm$1@sea.gmane.org>
In-Reply-To
<20060607183233.GA21448@diku.dk>
Jonas Fonseca wrote:
Show 6 quoted lines
> +grafts::
> +     Grafts enables two otherwise different lines of development to be
> +     joined together by recording fake ancestry information for commits.
> +     This way you can make git pretend the set of parents a commit
> +     has is different from what was recorded when the commit was created.
> +     Configured via the `.git/info/grafts` file.

Actually, grafts are used to "fake" (or change) parents (ancestry) of an existing commit. It can be used both to add parents (e.g. joining roots of "current" repository with historical one), or remove parents (e.g. to shorten (cauterize) history like in the "shalllow clone" idea).

-- 
Jakub Narebski
Warsaw, Poland
Previous: Jonas Fonseca
Message 2 of 2 in “Misc doc improvements”
  1. Misc doc improvementsJonas Fonseca, Jun 7, 2006
  2. Jakub NarebskiJun 7, 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.