Ilari Liusvaara schrieb:
+ helper->silent_exec_failure = 1; + if (start_command(helper)) { + if (errno == ENOENT) + die("Unable to find remote helper for \"%s\"", + data->name); + else + die_errno("Unable to run helper %s", helper->argv[0]);
When you fix your implementation of start_command() to follow Documentation/technical/api-run-command.txt, the error message in the else branch is not needed anymore (and then you can ask yourself whether you really want to issue your own error message in the case of ENOENT).
-- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html