Re: git 1.5.4.3 push incorrectly honors grafts file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]