-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit f74b9af
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 f74b9af
File tree
2 files changed
+32
-5
lines changed- commitizen/commands
- tests/commands
2 files changed
+32
-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 | + | ||
288 | + | ||
289 | + | ||
290 | + | ||
291 | + | ||
292 | + | ||
293 | + | ||
294 | + | ||
295 | + | ||
296 | + | ||
297 | + | ||
298 | + | ||
299 | + | ||
300 | + | ||
301 | + | ||
302 | + | ||
303 | + | ||
304 | + | ||
305 | + | ||
306 | + | ||
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | ||
311 | + | ||
287 | 312 |
| |
288 | 313 |
| |
289 | 314 |
| |
|
0 commit comments