I have a master branch and debug branch. They are one commit apart. debug branch is branched from master and has one commit. When I merge them, git fast-fowards master branch to debug branch, not creating another commit as I am familiar. It is missing some information, namely comments, from the master branch (which becomes HEAD^ after the merge). I have several questions:
How come it does not create another commit with the comment that denotes branches have been merged?
What is the criteria for fast forward?
Should I be paranoid about the fast-foward merge and check it every time?
I do not think I have anything in .gitconfig
file that may affect the behavior:
[merge]
tool = fugitive
[push]
default = upstream
[diff]
tool = vimdiff
[mergetool "fugitive"]
cmd = vim -f -c \"Gdiff\" \"$MERGED\"
[difftool]
prompt = false