I basically integrate the branches of the finished theme into the main development branch, in git. In this case, I sometimes have to change the commit message (improvement, spelling correction, ...), which leads to a new commit with a new identifier SHA1.
I would like to get the SHA1 hash from a commit change . This will allow us to check if any content of the change set has changed or not after modifying the commit message.
It would be great if we could get the SHA1 hash of the set of changes to the sequence of commits . Then we could do interactive permutations where we squash the commits, and still end with the same SHA1 change set hash.
source
share