Use `git_config_get_bool()` family instead of `git_config()` to take advantage
of
the config-set API which provides a cleaner control flow.
Signed-off-by: Tanay Abhra tanay...@gmail.com
---
daemon.c | 27 +--
1 file changed, 5 insertions(+), 22 deletions(-)
diff --git
Tanay Abhra tanay...@gmail.com writes:
@@ -354,12 +338,11 @@ static int run_service(const char *dir, struct
daemon_service *service)
[...]
}
+
if (!enabled) {
logerror('%s': service not enabled for '%s',
service-name, path);
Avoid
2 matches
Mail list logo