We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec97453 commit 9aef6e1Copy full SHA for 9aef6e1
1 file changed
commitizen/commands/commit.py
@@ -111,6 +111,11 @@ def __call__(self):
111
write_message_to_file: bool = self.arguments.get("write_message_to_file")
112
signoff: bool = self.arguments.get("signoff")
113
114
+ if signoff:
115
+ out.warn(
116
+ "Deprecated warning: `cz commit -s` is deprecated and will be removed in v5, please use `cz commit -- -s` instead."
117
+ )
118
+
119
if self.arguments.get("all"):
120
git.add("-u")
121
@@ -133,11 +138,6 @@ def __call__(self):
133
138
if dry_run:
134
139
raise DryRunExit()
135
140
136
- if signoff:
137
- out.warn(
- "signoff mechanic is deprecated, please use `cz commit -- -s` instead."
- )
-
141
if self.config.settings["always_signoff"] or signoff:
142
extra_args = f"{extra_args} -s".strip()
143
0 commit comments