libgit2 / libgit2/libgit2sharp

Can't set commit message when merging

Open
#1,562 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Up for grabs
Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

When I merge two commits, I can't set a commit message, so I'm stuck with a default message of 'Merge commit SHA'. Is there a way to set a custom commit message? If not, please add overrides to the Repository.Merge function that takes in a commit message.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Repository.Merge function and the merge-related tests in libgit2sharp. Trace how the default merge commit message is selected, then verify that a caller-supplied message is accepted and covered by regression tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
api, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.