diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-02-15 23:00:04 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-16 10:10:30 +0200 |
commit | faff9047407fd19c51961f9f1e8d6d910b318a08 (patch) | |
tree | 4303eab66ad64ff71958482d7a15d0c6ad7919fd | |
parent | 349c61c9612a328f3a80f301d37aa8c14adcb43a (diff) | |
download | apk-tools-faff9047407fd19c51961f9f1e8d6d910b318a08.tar.gz apk-tools-faff9047407fd19c51961f9f1e8d6d910b318a08.tar.bz2 apk-tools-faff9047407fd19c51961f9f1e8d6d910b318a08.tar.xz apk-tools-faff9047407fd19c51961f9f1e8d6d910b318a08.zip |
commit: log parameter passed to a hook script
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index ae43474..ae9e2c9 100644 --- a/src/commit.c +++ b/src/commit.c @@ -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; |