Skip to content

Conversation

christian-schilling
Copy link
Member

The default history simplification will not drop merge commits if their tree differs from any parent.
In most cases however merges that don't differ from the first parent are not wanted in the output history.
This new filter allows to prune them.

Change: prune-trivial-merges

@christian-schilling christian-schilling force-pushed the @changes/master/[email protected]/prune-trivial-merges branch 2 times, most recently from 4d17695 to 6cdcb13 Compare September 25, 2025 15:57
The default history simplification will not drop merge
commits if their tree differs from any parent.
In most cases however merges that don't differ from the first
parent are not wanted in the output history.
This new filter allows to prune them.

Change: prune-trivial-merges
["prune", _] => Err(josh_error(indoc!(
r#"
Filter ":prune" only supports "trivial-merge"
as arguement value.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants