Skip to content

Creating a virtual branch from a local tracking branch that isn't from GitButler duplicates commits #4795

@Byron

Description

@Byron

Version

0.12.21

Operating System

Mac OS X

Distribution Method

dmg (Apple Silicon)

Describe the issue

When creating a virtual branch from a local tracking branch that has no GitButler change-ids, it creates new local commits for each commit in the local tracking branch, and fails to see that the same patch exists in the remote branch already.

How to reproduce

In the GitLab repository: https://gitlab.com/gitlab-org/gitlab, do as shown in the video.

Screen.Recording.2024-08-29.at.19.07.40.mov

It should work with any branch.

Expected behavior

It should probably look like this:

Screenshot 2024-08-29 at 19 18 19

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions