Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Why is the option allow_empty_commits default to be true? #41

Closed
@w568w

Description

@w568w

There is an option named allow_empty_commits that controls whether an empty commit is allowed. However, it is true by default, and:

  1. caused a lot of confusion. This package commits every hour and the developer doesn't know how to stop it;
  2. did not make sense. There is no effect to push an empty commit to AUR, which only contains files for building and packaging.

--allow-empty has been added since the initial commit with no reason. So I assume that it is kept true 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions