mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-23 21:51:07 +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,11 +155,9 @@ func (pr *PullRequest) getPullRequestURL(from *models.Branch, to *models.Branch)
|
||||
}
|
||||
|
||||
repoInfo := getRepoInfoFromURL(repoURL)
|
||||
var toBranchName string
|
||||
if to == nil {
|
||||
toBranchName = ""
|
||||
} else {
|
||||
toBranchName = to.Name
|
||||
toBranchName := ""
|
||||
if to != nil {
|
||||
toBranchName = to.Name
|
||||
}
|
||||
pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName)
|
||||
|
||||
|
@ -396,7 +396,7 @@ func dutchTranslationSet() TranslationSet {
|
||||
LcInitSubmodule: "initialiseer submodule",
|
||||
LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties",
|
||||
LcViewStashFiles: "bekijk bestanden van stash entry",
|
||||
CreatePullRequestOptions: "Maak opties voor pull-aanvragen",
|
||||
LcCreatePullRequestOptions: "maak opties voor pull-aanvragen",
|
||||
CreatePullRequestOptions: "Creëer pull request opties",
|
||||
LcCreatePullRequestOptions: "creëer pull request opties",
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user