commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

[Feature Request] Respect --allow-empty flag

Open alecgerona opened this issue 5 years ago • 4 comments

Description

Respect git flag --allow-empty when using the cli tool.

Possible Solution

Allow empty commits using the cli tool.

Related Issue

Related to #49

alecgerona avatar Aug 13 '20 17:08 alecgerona

Copying the request from linked issue here. It would be ideal to support --allow-empty-message as well.

Kurt-von-Laven avatar Nov 26 '21 04:11 Kurt-von-Laven

Is #485 sufficiently general that its implementation would additionally address this issue for free?

Kurt-von-Laven avatar Apr 07 '22 06:04 Kurt-von-Laven

I think #485 is solving another issue but could be a workaround of this one. This one https://github.com/commitizen-tools/commitizen/issues/451#issuecomment-1092067170 might potentially be the general solution of this issue

Lee-W avatar Apr 11 '22 00:04 Lee-W

Indeed, being able to pass arbitrary flags to git commit seems ideal!

Kurt-von-Laven avatar Apr 11 '22 02:04 Kurt-von-Laven