Fixed issue #1886: Fetch&Rebase should allow automatic branch update if FF

You mean to extract the post cmd callback of merge into a function so let 2 functions share it?