mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-27 22:01:46 +02:00
Apply suggestions from code review
Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
This commit is contained in:
parent
bccf203a18
commit
0a63f701e5
@ -155,10 +155,8 @@ func (pr *PullRequest) getPullRequestURL(from *models.Branch, to *models.Branch)
|
|||||||
}
|
}
|
||||||
|
|
||||||
repoInfo := getRepoInfoFromURL(repoURL)
|
repoInfo := getRepoInfoFromURL(repoURL)
|
||||||
var toBranchName string
|
toBranchName := ""
|
||||||
if to == nil {
|
if to != nil {
|
||||||
toBranchName = ""
|
|
||||||
} else {
|
|
||||||
toBranchName = to.Name
|
toBranchName = to.Name
|
||||||
}
|
}
|
||||||
pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName)
|
pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName)
|
||||||
|
@ -396,7 +396,7 @@ func dutchTranslationSet() TranslationSet {
|
|||||||
LcInitSubmodule: "initialiseer submodule",
|
LcInitSubmodule: "initialiseer submodule",
|
||||||
LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties",
|
LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties",
|
||||||
LcViewStashFiles: "bekijk bestanden van stash entry",
|
LcViewStashFiles: "bekijk bestanden van stash entry",
|
||||||
CreatePullRequestOptions: "Maak opties voor pull-aanvragen",
|
CreatePullRequestOptions: "Creëer pull request opties",
|
||||||
LcCreatePullRequestOptions: "maak opties voor pull-aanvragen",
|
LcCreatePullRequestOptions: "creëer pull request opties",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user