Skip to content

[NBug] Unable to update remote pushurl for command output: origin ... #11424

@zlolik

Description

@zlolik

Environment

  • Git Extensions 4.2.1.17611
  • Build b0c0b28
  • Git 2.43.0.windows.1
  • Microsoft Windows NT 10.0.19045.0
  • .NET 6.0.25
  • DPI 96dpi (no scaling)
  • Portable: False

Issue description

System.Exception: Unable to update remote pushurl for command output: origin	git@github.com:flannelhead/jsmn-stream.git (push)
   at Task<IReadOnlyList<Remote>> GitCommands.GitModule.GetRemotesAsync()+ParseRemotes(ExecutionResult result) in C:/projects/gitextensions/GitCommands/Git/GitModule.cs:line 2371
   at async Task<IReadOnlyList<Remote>> GitCommands.GitModule.GetRemotesAsync() in C:/projects/gitextensions/GitCommands/Git/GitModule.cs:line 2336
   at void Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at T Microsoft.VisualStudio.Threading.JoinableTask<T>.CompleteOnCurrentThread()
   at Nodes GitUI.LeftPanel.RemoteBranchTree.FillTree(IReadOnlyList<IGitRef> branches, CancellationToken token) in C:/projects/gitextensions/GitUI/LeftPanel/RemoteBranchTree.cs:line 29
   at async Task<Nodes> GitUI.LeftPanel.BaseRefTree.LoadNodesAsync(CancellationToken token, Func<RefsFilter, IReadOnlyList<IGitRef>> getRefs) in C:/projects/gitextensions/GitUI/LeftPanel/BaseRefTree.cs:line 40
   at async JoinableTask GitUI.LeftPanel.Tree.ReloadNodesDetached(Func<CancellationToken, Func<RefsFilter, IReadOnlyList<IGitRef>>, Task<Nodes>> loadNodesTask, Func<RefsFilter, IReadOnlyList<IGitRef>> getRefs)+(?) => { } in C:/projects/gitextensions/GitUI/LeftPanel/Tree.cs:line 98
   at async Task Microsoft.VisualStudio.Threading.ThreadingTools.WithCancellationSlow(Task task, bool continueOnCapturedContext, CancellationToken cancellationToken)
   at async Task GitUI.TaskManager.HandleExceptionsAsync(Func<Task> asyncAction, Func<Exception, Task> handleExceptionAsync) in C:/projects/gitextensions/GitExtUtils/GitUI/TaskManager.cs:line 28

Steps to reproduce

Create minimal clone with
git clone --filter=blob:none git@github.com:flannelhead/jsmn-stream.git
and try to open GitExtensions on this directory

Did this work in previous version of GitExtensions?

GitExtensions 4.2 works without exception.

Diagnostics

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions