The SHA1 commit depends on everything related to commit, including metadata. In particular, this depends on the commit timestamp. Your double-combined commit has a new timestamp, so it has a new SHA1.
(Note that there was an “author date” when it was originally written, and a “commit date” when the actual commit was committed, only the last one has changed. To verify this, use git log --pretty=fuller , or simply look at the commit in gitk .)
source share