lfs-hook-test/.githooks/post-checkout

4 lines
197 B
Bash
Executable file

#!/bin/sh
# LFS post-checkout passthrough (required when core.hooksPath = .githooks)
command -v git-lfs >/dev/null 2>&1 || { git lfs version >/dev/null 2>&1 || exit 0; }
git lfs post-checkout "$@"