repo close: --no-ff if more than one commit, ff otherwise