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

Re: [PATCH 7/6 (v4)] support for commit grafts, slight change to general mechanism

From
Thomas Rast <trast@student.ethz.ch>
Date
Oct 21, 2009, 09:15 UTC
Message-ID
<200910211115.25017.trast@student.ethz.ch>
In-Reply-To
<4ADCCCA9.4000802@gmail.com>
Nick Edelen wrote:
Show 6 quoted lines
> Adds support for graft commits in rev-cache (w/ test), and slightly alters
> graft mechanism.  Before, parse_commit() checked the graft list on every
> commit.  Now register_commit_graft() preemptively loads graft commits into
> memory, and sets a new 'graft' flag in the object.  This allows awareness of
> the commits' medical history without searching a (normally private) array upon
> each commit.

I felt adventurous and merged the topic into my local build, but I get "error: duplicate graft data ..." in repositories with only a single line in .git/info/grafts, which bisects to this commit (1c0a666 in today's pu).

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Nick EdelenNext: Thomas Rast
Message 6 of 8 in “support for commit grafts, slight change to general mechanism”
  1. 7/6 support for commit grafts, slight change to general mechanismNick Edelen, Sep 7, 2009
  2. Nick EdelenSep 27, 2009
  3. Shawn O. PearceSep 29, 2009
  4. Chris JohnsenSep 30, 2009
  5. Nick EdelenOct 19, 2009
  6. Thomas RastOct 21, 2009
  7. Thomas RastOct 21, 2009
  8. Nick EdelenOct 27, 2009

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.