add pull, set return for pull, output mergestatus for pull/merge