Stuck again on submodules

Ian Lynagh ian at
Thu May 9 14:52:39 CEST 2013

On Thu, May 09, 2013 at 12:44:45PM +0000, Simon Peyton-Jones wrote:
> aha, good catch.  It looks as if my commit for cardinality analysis somehow jiggered the Cabal tree.  I have no idea how or why.  
> How can I undo that?

I think this will do it:

cd libraries/Cabal
git reset --hard b4d0c0f2846542dc2e2df189fe145a56ac9b30b6
cd ../..
git commit -a --amend

assuming that "Implement cardinality analysis" is the latest patch.

If it's not the latest patch, then you'll either have to do some
rebasing, or just record a new patch instead of amending.


More information about the ghc-devs mailing list