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

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.

@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/squash-list branch 8 times, most recently from a2e5670 to a8ad071 Compare September 28, 2022 06:50
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/squash-list branch from a8ad071 to 27c103e Compare September 28, 2022 11:59
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/squash-list branch 2 times, most recently from 44de337 to 454f1c3 Compare October 5, 2022 11:33
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/squash-list branch 2 times, most recently from 6ec80cf to cf41ad6 Compare October 11, 2022 12:21
@@ -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/christian.schilling.de@gmail.com/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 force-pushed the @changes/master/christian.schilling.de@gmail.com/squash-list branch from bc60d3f to 9014cc5 Compare October 28, 2022 16:07
@christian-schilling christian-schilling merged commit 894bedb into master Oct 31, 2022
@christian-schilling christian-schilling deleted the @changes/master/christian.schilling.de@gmail.com/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