unity-builder/dist/remote-builder/combineLFSHash.sh

9 lines
209 B
Bash
Raw Normal View History

#!/bin/sh
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/lfsSum.txt
echo ''
echo 'combined file:'
cat $1/lfsSum.txt
echo ''