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

Add --sort-commits-by-date option #97

Closed
wants to merge 2 commits into from
Closed

Add --sort-commits-by-date option #97

wants to merge 2 commits into from

Conversation

papb
Copy link

@papb papb commented Mar 4, 2019

This PR adds an option --sort-commits-by-date option, and adds an extra explanation to README.

Fixes #95.

@@ -37,6 +39,7 @@ Options:
--tag-pattern [regex] # override regex pattern for release tags
--tag-prefix [prefix] # prefix used in version tags, default: v
--starting-commit [hash] # starting commit to use for changelog generation
--sort-commits-by-date # sort commits by date (descending) instead of sorting by relevance
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this would be better as a generic option that took a value of “date“, for extensibility?

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the quick review! Yeah, that makes sense. I have no time to do it now though. Feel free to suggest an edit or commit yourself or whatever :)

Copy link
Owner

Choose a reason for hiding this comment

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

Yeah a generic --sort-commits sounds good. I'll give it a shot.

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.

3 participants