Closed jbialobr closed 11 years ago
If you can reproduce this consistently, can you put a breakpoint at:
GitCommands\Git\RemoteInfo.cs, line 188
Right-click on the breakpoint icon, [Condition...]
!NameToBranch.ContainsKey(remoteBranch)
Then, if you can fix it, that'd be fantastic; otherwise, please comment with the offending values.
I send you debug data via email.
@jbialobr can you check this and either respond on stackoverflow (if you have an account) or this one?
@jbialobr can you also post the lines for [remote "origin"]
. Also, you may want to delete the answer you posted on the other site. (Answers are reserved for solving the question/problem.)
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
Also, you may want to delete the answer you posted on the other site. (Answers are reserved for solving the question/problem.)
Where do I have to click to add a comment to question?
Right below Pascal's comment there's an Add Comment link that expands to a textbox where you can place a comment.
I can't see it:
Apparently, you have to have 50 reputation points before being able to comment. I'll post an edit to the question.
On the remote repository, is the branch named origin/DowSzkDoZgl
or just DowSzkDoZgl
?
origin/DowSzkDoZgl
Is the issue no longer taking place?
Also, what does it show when you perform: git ls-remote --heads origin
?
$ git ls-remote --heads origin | grep DowSzkDoZgl
aceb95fa2cf80bfec65272acf0898a2a47d8fac9 refs/heads/DowSzkDoZgl
aceb95fa2cf80bfec65272acf0898a2a47d8fac9 refs/heads/origin/DowSzkDoZgl
Yes, this issue is fixed, I closed it.
Are you sure it was fixed in code? Or did you fix it by something you did to your repo?
Yes, it was fixed by e16c10b7f9fb810441038a5f291caa392c58f171
System.Collections.Generic.KeyNotFoundException was unhandled by user code Message=Dany klucz nie był obecny w słowniku. Source=mscorlib StackTrace: w System.Collections.Generic.Dictionaryb11(TSource x)
w System.Linq.Enumerable.WhereSelectArrayIteratorb e() w D:\projekty\gitextensions\GitUI\RepoObjectsTree\RepoObjectsTree.cs:wiersz 75
w GitUI.UserControls.ValueWatcher
2.get_Item(TKey key) w GitCommands.Git.RemoteInfo..ctor(String remoteShowOutput) w D:\projekty\gitextensions\GitCommands\Git\RemoteInfo.cs:wiersz 189 w GitCommands.GitModule.<GetRemotesInfo>b__2a(String remote) w D:\projekty\gitextensions\GitCommands\Git\GitModule.cs:wiersz 2106 w System.Linq.Enumerable.<>c__DisplayClass12
3.2.MoveNext() w System.Collections.Generic.List
1..ctor(IEnumerable1 collection) w System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) w GitUI.UserControls.RepoObjectsTree.1.<CheckUpdateAsync>b__4() w D:\projekty\gitextensions\GitUI\RepoObjectsTree\ValueWatcher.cs:wiersz 55 w System.Threading.Tasks.Task
1.InvokeFuture(Object futureAsObj) w System.Threading.Tasks.Task.InnerInvoke() w System.Threading.Tasks.Task.Execute() InnerException: