-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit cf9c847
fix(commit): resolve 'always_signoff' configuration and '-s' CLI issues
If 'always_signoff' is enabled in configurations, or '-s' is used alone on the CLI,
the following errors arise due to 'git commit' argument failures :
> signoff mechanic is deprecated, please use `cz commit -- -s` instead.
> fatal: /tmp/...: '/tmp/... is outside repository at '...'
Signed-off-by: Adrian DC <radian.dc@gmail.com>1 parent 01fd042 commit cf9c847
File tree
2 files changed
+7
-5
lines changed- commitizen/commands
- tests/commands
2 files changed
+7
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 | + | ||
118 | + | ||
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
120 | 122 |
| |
121 | - | ||
122 | - | ||
123 | - | ||
123 | + | ||
124 | + | ||
125 | + | ||
124 | 126 |
| |
125 | 127 |
| |
126 | 128 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 | - | ||
263 | + | ||
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
286 | - | ||
286 | + | ||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
|
0 commit comments