diff --git a/native/v8_extensions/git.mm b/native/v8_extensions/git.mm index 9221c842a..3c870983f 100644 --- a/native/v8_extensions/git.mm +++ b/native/v8_extensions/git.mm @@ -112,7 +112,7 @@ namespace v8_extensions { *out = shortName; } - void getUpstreamBranch(const char** out, git_reference *branch) { + void GetUpstreamBranch(const char** out, git_reference *branch) { *out = NULL; git_config *config; if (git_repository_config(&config, repo) != GIT_OK) @@ -159,7 +159,7 @@ namespace v8_extensions { git_reference *head; if (git_repository_head(&head, repo) == GIT_OK) { const char* upstreamBranchName; - getUpstreamBranch(&upstreamBranchName, head); + GetUpstreamBranch(&upstreamBranchName, head); if (upstreamBranchName != NULL) { git_reference *upstream; if (git_reference_lookup(&upstream, repo, upstreamBranchName) == GIT_OK) {