From: elupus Date: Mon, 04 May 2009 17:54:25 GMT Subject: Re: git 1.5.4.3 push incorrectly honors grafts file Message-ID: In-Reply-To: <49FF2507.6070602@kdbg.org> On Mon, 04 May 2009 19:25:27 +0200, Johannes Sixt wrote: > 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