blob: 831d740f8d1fa9c16b791283e80a712dacdfb25d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
[ "$1" = "git-lfs" ] || exit 0
# Verify git-lfs registers itself as a git extension and core commands work
git lfs help 2>&1 | grep -q "track"
# Verify git-lfs env shows it is wired into git
git lfs env 2>&1 | grep -qi "git\|lfs\|endpoint"
# Verify key subcommands are available
git lfs help track 2>&1 | grep -qi "track"
git lfs help push 2>&1 | grep -qi "push"
git lfs help pull 2>&1 | grep -qi "pull"
|