Skip to content

When merging and there's a single commit on a branch, the second line from the commit message is merged to one line #5756

Closed
@neoGeneva

Description

@neoGeneva

See the example screenshot when merging from a branch that has a single commit with the message:

Fix typo on contact page
Fixes #6036

And for some reason the commit message ends up being Fix typo on contact pageFixes #6036 (#6037)

image

Looking through my commit history this issues seems to have started around Dec 13, 2023, so probably related to 0.78.0, and "Merge commit message uses the message configured in the GitHub repository settings." But when merging from within Github the message is okay:

image

Also, my Github options is to use the "Default message"

image

  • Extension version: v0.81.2024020709 (pre-release)
  • VSCode Version: 1.86.1
  • OS: Window 11 23H2
  • Repository Clone Configuration (single repository/fork of an upstream repository): single repository
  • Github Product (Github.com/Github Enterprise version x.x.x): private repo

Steps to Reproduce:

  1. Create a branch with a single commit with a multiline commit message
  2. Merge that branch

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions