private async Task SetSpecifiedCommitBranchNamesAsync(MRepository repository) { MCommit rootCommit = GetRootCommit(repository); repository.RootCommitId = rootCommit.RealCommitId; IReadOnlyList <CommitBranchName> gitSpecifiedNames = await gitCommitBranchNameService.GetEditedBranchNamesAsync( rootCommit.Sha); IReadOnlyList <CommitBranchName> commitBranches = await gitCommitBranchNameService.GetCommitBranchNamesAsync( rootCommit.Sha); commitBranchNameService.SetSpecifiedCommitBranchNames(gitSpecifiedNames, repository); commitBranchNameService.SetCommitBranchNames(commitBranches, repository); }