Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement squash filter for list of commits #948

Merged

Conversation

christian-schilling
Copy link
Member

This version of the squash filter will discard all but the listed commits.
The josh-filter command gets an option to build this list from a pattern of
refs.

@@ -43,7 +43,7 @@
* add file2
* add file1

$ josh-filter -s --squash --file file.josh
$ josh-filter -s --single --file file.josh
Copy link
Collaborator

Choose a reason for hiding this comment

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

now that I think about it, it's weird that the result of this is the "initial" commit and not one of the three above...

@christian-schilling christian-schilling force-pushed the @changes/master/[email protected]/squash-list branch 2 times, most recently from 620288c to bc60d3f Compare October 27, 2022 16:37
This version of the squash filter will discard all but the listed commits.
The `josh-filter` command gets an option to build this list from a pattern of
refs.

Change: squash-list
@christian-schilling christian-schilling merged commit 894bedb into master Oct 31, 2022
@christian-schilling christian-schilling deleted the @changes/master/[email protected]/squash-list branch October 31, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants