commit: add repository argument to commit_graft_pos