-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Why is the option allow_empty_commits
default to be true?
#41
Comments
Tell the developers to read the documentation. There's no fixing skill issues.
It makes sense for many of my use cases, where CI can sometimes make no change. And I don't want the CI to just fail. |
I am not defending the developer; it is indeed his fault for not reading the documentation at all. However, isn't it necessary to emphasize this rather unusual default value in the documentation? I think this has confused more people than just him.
This is actually nothing to do with the default setting. I suppose your goal is to prevent the CI from failure, and there are many ways to achieve that. I believe that using |
I actually checked |
Thanks for your quick fix. 🚀 |
There is an option named
allow_empty_commits
that controls whether an empty commit is allowed. However, it is true by default, and:--allow-empty
has been added since the initial commit with no reason. So I assume that it is kepttrue
for backward compatibility.I suggest making it
false
by default.Q: But it is a break change...!
I don't think the change will really "break" anyone's workflow. After all, you can publish a new major version for it.
The text was updated successfully, but these errors were encountered: