gitbtw
login
register
theme
about
fordon_greeman
/
voidfiles
Code
Pull requests
0
Branch:
2079ec5
Switch branches/tags
main
voidfiles
/
emacs
/
elpa
/
magit-20261101.2154
/
githooks
/
magit-run-git-hook
theidioticdev
add emacs
2079ec5
23h ago
8 lines · 193 B
Raw
Blame
History
1
#!/usr/bin/env bash
2
if
[
-n
"$MAGIT_HOOK_EDITOR"
]
3
then
4
for
arg
in
"$@"
;
do
args+
=
"\"$arg\""
;
done
5
eval
"$MAGIT_HOOK_EDITOR"
--
eval
'"(magit-run-git-hook ${args[@]})"'
6
else
7
true
8
fi