fixed bug, sha1 not updated if amended. See GH-82.