Merge pull request #150 from addshore/patch-1
This commit is contained in:
commit
c2cb41cdd5
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -1660,7 +1660,7 @@ function invoke_hook() {
|
|||
exit_status="$2"
|
||||
hook_command="${YADM_HOOKS}/${mode}_$HOOK_COMMAND"
|
||||
|
||||
if [ -x "$hook_command" ] ; then
|
||||
if [ -x "$hook_command" ] || ( [[ $OPERATING_SYSTEM == MINGW* ]] && [ -f "$hook_command" ] ) ; then
|
||||
debug "Invoking hook: $hook_command"
|
||||
|
||||
# expose some internal data to all hooks
|
||||
|
|
Loading…
Reference in a new issue