Skip to content

[commit] Configuration of commit message format #100

@aik099

Description

@aik099

Currently commit message looks is composed of 3 parts:

  1. changelist name (when committing via changelist)
  2. merge details (when committing merge result)
  3. conflicts list (when conflicts were recorded)

and looks like this:

This is Changelist Name
Merging from Trunk to Stable
* r1111: PRJ-1234 - Task Description
1. change1 made in this task
2. change1 made in this task
* r2222: PRJ-5555 - Task Description
1. change1 made in this task
2. change1 made in this task
* r3333: PRJ-1234 - Task Description
1. change1 made in this task
2. change1 made in this task

Conflicts:

  * file one.yyx
  * file two.xxx

Proposing to add commit.commit-template config setting with this default value:

{changelist}
{merge}
{conflicts}

User then will be able to:

  • remove unneeded parts on project level
  • adjust their order
  • add some static text

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions