fix down merge up ,
if down branch has only one branch, commit will be considered "flat"