* Enable or disable the maintenance mode for the current repository: * * * If 'enable' is nonzero, run 'git maintenance start'. * * If 'enable' is zero, run 'git maintenance unregister --force'. */
| 227 | * * If 'enable' is zero, run 'git maintenance unregister --force'. |
| 228 | */ |
| 229 | static int toggle_maintenance(int enable) |
| 230 | { |
| 231 | return run_git("maintenance", |
| 232 | enable ? "start" : "unregister", |
| 233 | enable ? NULL : "--force", |
| 234 | NULL); |
| 235 | } |
| 236 | |
| 237 | static int add_or_remove_enlistment(int add) |
| 238 | { |
no test coverage detected