9 lines
184 B
Bash
Executable File
9 lines
184 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if [ -n "$MAGIT_HOOK_EDITOR" ]
|
|
then
|
|
for arg in "$@"; do args+="\"$arg\""; done
|
|
$MAGIT_HOOK_EDITOR --eval "(magit-run-git-hook ${args[@]})"
|
|
else
|
|
true
|
|
fi
|