Commit faff9047 authored by Henrik Riomar's avatar Henrik Riomar Committed by Timo Teräs

commit: log parameter passed to a hook script

parent 349c61c9
......@@ -235,7 +235,7 @@ static int run_commit_hook(void *ctx, int dirfd, const char *file)
return 0;
snprintf(fn, sizeof(fn), "etc/apk/commit_hooks.d" "/%s", file);
if (apk_verbosity >= 2) apk_message("Executing: %s", fn);
if (apk_verbosity >= 2) apk_message("Executing: %s %s", fn, commit_hook_str[hook->type]);
if (apk_db_run_script(db, fn, argv) < 0 && hook->type == PRE_COMMIT_HOOK)
return -1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment