Skip to content

"Replace tracking reference" doesn't work on the Push dialog #11899

@patiqs

Description

@patiqs

Environment

  • Git Extensions 5.0.0.17897
  • Build 2a3b78b
  • Git 2.46.0.windows.1
  • Microsoft Windows NT 10.0.22631.0
  • .NET 8.0.8
  • DPI 96dpi (no scaling)
  • Portable: False

Issue description

The "Replace tracking reference" checkbox doesn't have any effect.
image

Steps to reproduce

  • Open the push dialog
  • Check "Replace tracking reference"
  • Modify the "to" branch to something else
  • Push
  • Open the push dialog again

The "to" branch returns to the original value instead of the modified one

Did this work in previous version of GitExtensions?

Yes Version 4.2.1

Diagnostics

It creates the following command:
"C:\Program Files\Git\bin\git.exe" push -u --progress "origin" refs/heads/work1:refs/heads/other

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions