We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f74b9af commit f903f01Copy full SHA for f903f01
commitizen/commands/commit.py
@@ -110,16 +110,17 @@ def __call__(self):
110
if dry_run:
111
raise DryRunExit()
112
113
- signoff: bool = (
114
- self.arguments.get("signoff") or self.config.settings["always_signoff"]
115
- )
+ always_signoff: bool = self.config.settings["always_signoff"]
+ signoff: bool = self.arguments.get("signoff")
116
117
extra_args = self.arguments.get("extra_cli_args", "")
118
119
if signoff:
120
out.warn(
121
"signoff mechanic is deprecated, please use `cz commit -- -s` instead."
122
)
+
123
+ if always_signoff or signoff:
124
if extra_args:
125
extra_args += " "
126
extra_args += "-s"
0 commit comments