-
Introduce Repository#with_repo_branch_commit · 99ac0935Lin Jen-Shin authored
We merge repository checks inside it so we don't have to check it on the call site, and we could also load the commit for the caller. This greatly reduce code duplication. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_20572919
99ac0935
×