2021-07-12 21:06:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2021-07-12 22:25:50 +00:00
|
|
|
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
|
2021-07-12 22:53:22 +00:00
|
|
|
git lfs ls-files -l
|
|
|
|
|
git lfs ls-files -l | cut -d' ' -f1
|
|
|
|
|
git lfs ls-files -l | cut -d' ' -f1 | sort
|
|
|
|
|
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/.lfs-assets-id
|
2021-07-12 22:36:40 +00:00
|
|
|
echo ' '
|
|
|
|
|
ls $1
|
2021-07-12 22:25:50 +00:00
|
|
|
echo 'combined file:'
|
2021-07-12 22:53:22 +00:00
|
|
|
cat $1/.lfs-assets-id
|
2021-07-12 22:36:40 +00:00
|
|
|
echo ' '
|