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

fix: read from stdin only when --from-stdin is provided #116

Merged
merged 2 commits into from
Feb 7, 2023
Merged

Conversation

hdevalke
Copy link
Collaborator

@hdevalke hdevalke commented Feb 6, 2023

No description provided.

@hdevalke
Copy link
Collaborator Author

hdevalke commented Feb 6, 2023

As there is a lot of discussing in #102 it looks better to make the flag explicit.

BREAKING CHANGE: when not run in a tty the flag is necessary to indicate
it should read from stdin
Removes leading and trailing newlines and comments and trailing whitespace from the commit message read from stdin. It also colapses multiple empty lines into one.

Refs: #114
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.

None yet

1 participant