Skip to content

fix(hooks): avoid git lfs lookup when unavailable - #11

Open
taigrr wants to merge 1 commit into
masterfrom
cd/pre-commit-optional-lfs
Open

fix(hooks): avoid git lfs lookup when unavailable#11
taigrr wants to merge 1 commit into
masterfrom
cd/pre-commit-optional-lfs

Conversation

@taigrr

@taigrr taigrr commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • skip the pre-commit LFS tracked-file lookup when git-lfs is not installed
  • add a regression test that runs pre-commit with git available but git-lfs absent

Tests

  • for test_script in test/*_test.sh; do bash "$test_script" || exit 1; done
  • shellcheck pre-commit commit-msg pre-push post-checkout post-commit post-merge install.sh uninstall.sh test/*_test.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant