Re: [BUG] Cannot push some grafted branches
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Dec 19, 2012, 07:13 UTC
- Message-ID
- <50D16911.10000@viscovery.net>
- In-Reply-To
- <20121218162402.GA20122@sigill.intra.peff.net>
Am 12/18/2012 17:24, schrieb Jeff King:
Show 5 quoted lines
> 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