Skip to content

Commit e35dd0f

Browse files
committed
Log install path for hook
1 parent 2bc7441 commit e35dd0f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

git-ssh-install-hooks

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ EOF
7676

7777
_do_install() {
7878
_install_target="$1"
79-
_log 'Installing %s' "${_install_target}"
79+
80+
_log 'Installing %s -> %s' "${_install_target}" "${GIT_DIR}/hooks"
8081

8182
cp -f "${_install_target}" "${GIT_DIR}/hooks" || {
8283
_elog 'Failed to install %s' "${_install_target}"
84+
85+
unset _install_target
8386
return 1
8487
}
8588

0 commit comments

Comments
 (0)