I am having difficulties understanding how to merge correctly hotfixes (in the git-flow sense) in SourceTree. The SourceTree website states:
Once you’ve made your changes, the hotfix branch is then merged back into both the master branch (to update the released version) and the development branch (to make sure the fixes go into the next release too)
But when I finalize a hotfix in SourceTree I get this:
Indeed Sourcetree did merge the hotfix into both master and develop but this apparently caused both those branches to diverge, which then forced me to merge develop into master again manually. The resulting structure is plain ugly.
Before the hotfix, both master and develop were on the same commit. Hence I expected that after the hotfix, SourceTree would merge both those branches with the hotfix branch through fast-forward, basically obtaining a simple layout like that:
Here the hotfix "fixing more..." is visible just as a simple commit. Is there any option that would cause SourceTree to merge in a hotfix with such a simple fast-forward merge, basically moving ahead master and develop at the same time? Is there anything I may be missing aobut git or git-flow?