We have 2 branches dev and master (long lived) with short lived feature branches.
We merge from feature-branches to dev then issue a pull-request to master. After 2 people approve we merge pull request to master. We also have auto merge from master back to dev to cover cases where we make changes bypassing dev.
Our problem is that after the automerge we see that dev is ahead of master with no diff.

From below picture you can see commit hash ef0a7.. contains b829c.. (which in turn contains e160e.. and eab15..)


Thanks for any help you can provide.