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

Re: git 1.5.4.3 push incorrectly honors grafts file

From
Eelupus <elupus@ecce.se>
Date
May 4, 2009, 17:54 UTC
Message-ID
<yj2z78echiy8$.1mp64tzd3njkz.dlg@40tude.net>
In-Reply-To
<49FF2507.6070602@kdbg.org>
On Mon, 04 May 2009 19:25:27 +0200, Johannes Sixt wrote:
Show 11 quoted lines
> elupus schrieb:
>> [26 quoted lines suppressed]
> 
> Right.
> 
> It's a know issue. But it was nobody's itch, yet, perhaps because too few 
> people use grafts. There is a topic, cc/replace, in Junio's pu branch that 
> introduces "replacement objects"; these are a generalization of grafts. If 
> effort is invested, then it's best to nurse this topic.
> 
> -- Hannes
Ah okey. Atleast then i know to thread carfully. 

The ugglies thing about this was that git gc had actually pruned a commit from my repo due to an invalid graft's file. That push/pull didn't work wasn't soo bad, but that my repo got corrupted due to an invalid graft file is abit scary.

Luckily in my case it was a git svn repo, and I even think i found a way to just rebuild that branch where it occured.

It's quite probable that the problem's I had with the push/pull was due to this missing commit. Since all my grafts (part from the wrong one) are only additions of parents to commits. A cloned repo should still be okey even if it does honor the grafts file (i think without knowning too much about the inards of git).

Joakim
Previous: Johannes SixtNext: Dmitry Potapov
Message 4 of 7 in “git 1.5.4.3 push incorrectly honors grafts file”
  1. elupusApr 27, 2009
  2. elupusMay 3, 2009
  3. Johannes SixtMay 4, 2009
  4. elupusMay 4, 2009
  5. Dmitry PotapovMay 4, 2009
  6. elupusMay 5, 2009
  7. Michael J GruberMay 4, 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.