From: Johannes Sixt Date: Wed, 19 Dec 2012 07:13:21 GMT Subject: Re: [BUG] Cannot push some grafted branches Message-ID: <50D16911.10000@viscovery.net> In-Reply-To: <20121218162402.GA20122@sigill.intra.peff.net> Am 12/18/2012 17:24, schrieb Jeff King: > I am not really interested in pushing this forward myself, but I worked > up this toy that somebody might find interesting (you can "git replace > HEAD~20" to get dumped in an editor). It should probably handle trees, > and it would probably make sense to do per-object-type sanity checks > (e.g., call verify_tag on tags). I know it's just a throw-away patch, but I would discourage to go this route without also adding all the sanity checks. Otherwise, it will have just created a porcelain command that can generate a commit object with any content you want! -- Hannes