dolthub / dolthub/dolt

Add `--cleanup` flag for message cleanup modes

Open
#11,010 0 comments 0 reactions 0 assignees View on GitHub
enhancement version control
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

Dolt currently applies a single hardcoded cleanup mode to all user-provided commit messages. This matches git's strip mode and is the right default, but there is no way to opt out.

`git commit` and `git merge` expose this via `--cleanup` [[1](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---cleanupltmodegt)][[2](https://git-scm.com/docs/git-merge#Documentation/git-merge.txt---cleanupltmodegt)]. The four modes are strip, whitespace, verbatim, and scissors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.