update: print the hook name

This commit is contained in:
2025-12-23 00:29:24 -05:00
parent a27c131158
commit da89bf2079
+1
View File
@@ -198,6 +198,7 @@ leaf_invoke_hooks() {
[[ " ${triggers[*]} " =~ " $1 " ]] || continue
for _target in "${target[@]}"; do
if grep -qe "${_target}" "${_trace_dir}"/FILES 2>/dev/null; then
echo -e "${GREEN_COLOR}*** Apply the hook: ${_hook}...${CLEAR_COLOR}"
operation
break
fi