Skip to content

Merge commit says refs/heads/<branchname> instead of <branchname> #570

@mloskot

Description

@mloskot
  • Fork: 1.42.4.0
  • File > Preferences > Git > Git Instance: 2.24.0.windows.2

At some point recently, Fork started logging merged branches in true merge commit message as refs/heads/<branchname> instead of just <branchname>.

On this screenshot, the red commit was performed in Fork with "No Fast-Forward" selected and the blue commit was performed using git merge --no-ff ml/c:

image

Initially, I have asked about this behaviour on the Git mailing list in thread Merge commit says refs/heads/<branchname> instead of <branchname>.

I received responses that such behaviour cannot be reproduced with git command.

So, given Fork used to not put this refs/heads/ in front of branch names and the responses on the Git list, I believe current behaviour of Fork 1.42.x is unexpected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions