Log before git lfs pull

pull/289/head
Frostebite 2021-08-13 21:34:39 +01:00
parent 509021a811
commit 8d51ab3bfc
1 changed files with 8 additions and 12 deletions

View File

@ -49,27 +49,23 @@ if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
ls -lh "$gitLFSDestinationFolder" ls -lh "$gitLFSDestinationFolder"
fi fi
echo ' ' echo ' '
echo "LFS cache for branch: $branch" echo "LFS cache for $branch"
du -sch "$lfsCacheFolder"
ls -lh "$lfsCacheFolder" ls -lh "$lfsCacheFolder"
echo ' ' echo ' '
echo "Library cache for branch: $branch" echo "Library cache for $branch"
du -sch "$libraryCacheFolder"
ls -lh "$libraryCacheFolder" ls -lh "$libraryCacheFolder"
echo ' ' echo ' '
echo "Size of LFS cache folder for branch: $branch" echo "Branch: $branch"
du -sch "$lfsCacheFolder"
echo ' '
echo "Size of Library cache folder for branch: $branch"
du -sch "$libraryCacheFolder"
echo ' '
echo "Size of cache folder for branch: $branch"
du -sch "$cacheFolderWithBranch" du -sch "$cacheFolderWithBranch"
echo ' ' echo ' '
echo 'Size of cache folder' echo 'Full cache'
du -sch "$cacheFolderFull" du -sch "$cacheFolderFull"
echo ' ' echo ' '
ls
git lfs pull git lfs pull
echo 'pulled latest LFS files' echo 'pulled latest LFS files'
zip -q -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder" zip -q -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder"