update packages
This commit is contained in:
13
lisp/magit/git-hooks/post-commit
Executable file
13
lisp/magit/git-hooks/post-commit
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$INSIDE_EMACS" == *magit ]]
|
||||
then
|
||||
for arg in "$@"; do args+="\"$arg\""; done
|
||||
$GIT_EDITOR --eval \
|
||||
"(magit-run-git-hook '(common-post-commit post-commit) ${args[@]})"
|
||||
fi
|
||||
|
||||
if [[ -x "$SHADOWED_GITHOOK_DIRECTORY" ]]
|
||||
then
|
||||
"$SHADOWED_GITHOOK_DIRECTORY/$(basename $0)" "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user