-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
The context:
- By default, running
git commitwith nothing staged returns an error code, with a messagenothing to commit, working tree clean - To create an empty commit, an option must be passed :
git commit --allow-empty
The issue:
- In
sourcegit, trying to commit with nothing staged matches the default behavior and prints an error message sayingNo files added to commit! - There is no way to tell it that it is on purpose
Possible solutions:
- Adding a "Commit anyway" button to the error message
- Adding an
Allow emptycheckbox besides the ones forAuto-stageandAmend
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request