diff --git a/src/GitHub.App/Api/ApiClient.cs b/src/GitHub.App/Api/ApiClient.cs index ca6f23970c..39d69e3188 100644 --- a/src/GitHub.App/Api/ApiClient.cs +++ b/src/GitHub.App/Api/ApiClient.cs @@ -257,7 +257,11 @@ public IObservable GetRepositories() public IObservable GetBranches(string owner, string repo) { +#pragma warning disable CS0618 + // GetAllBranches is obsolete, but don't want to introduce the change to fix the + // warning in the PR, so disabling for now. return gitHubClient.Repository.GetAllBranches(owner, repo); +#pragma warning restore } public IObservable GetRepository(string owner, string repo) diff --git a/submodules/octokit.net b/submodules/octokit.net index 95d6511f73..2436b20db9 160000 --- a/submodules/octokit.net +++ b/submodules/octokit.net @@ -1 +1 @@ -Subproject commit 95d6511f73596f67b3c0ff2d4a132d5734e4d57c +Subproject commit 2436b20db91387ab51a5b6456fc1af4aa15fd59d