Skip to content

Commit

Permalink
signed update
Browse files Browse the repository at this point in the history
  • Loading branch information
slimm609 committed May 27, 2022
1 parent d2c0507 commit 2753ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .git-hooks/post-commit
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash
# The current repo root
CURRENT_REPO=$(git rev-parse --show-toplevel)
if [[ -f $CURRENT_REPO/.gitlfs ]]; then
if [[ -f ${CURRENT_REPO}/.gitlfs ]]; then
command -v git-lfs > /dev/null 2>&1 || {
echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\n"
exit 2
}
git lfs post-commit "$@"
fi

"${CURRENT_REPO}"/helpers/enable-git-hooks.sh
"${CURRENT_REPO}"/hack/enable-git-hooks.sh

0 comments on commit 2753ebb

Please sign in to comment.