diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2013-11-20 00:38:30 +0400 |
---|---|---|
committer | Keith Dahlby <dahlbyk@gmail.com> | 2013-11-21 03:48:38 +0400 |
commit | 123bd64e59082735e6ed6f0f16562e3cc1f934da (patch) | |
tree | 60d1c9273f17cc325b17892be862427540c59f5e /LibGit2Sharp/BranchCollection.cs | |
parent | 94066ec0e2c5325c5806ac6a5dfeeb789ebd28dc (diff) |
Introduce Proxy.git_iterator
Diffstat (limited to 'LibGit2Sharp/BranchCollection.cs')
-rw-r--r-- | LibGit2Sharp/BranchCollection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs index 645922e7..3c02ee1d 100644 --- a/LibGit2Sharp/BranchCollection.cs +++ b/LibGit2Sharp/BranchCollection.cs @@ -92,7 +92,7 @@ namespace LibGit2Sharp public virtual IEnumerator<Branch> GetEnumerator() { return Proxy.git_branch_iterator(repo, GitBranchType.GIT_BRANCH_LOCAL | GitBranchType.GIT_BRANCH_REMOTE) - .GetEnumerator(); + .ToList().GetEnumerator(); } /// <summary> |