Skip to content
Snippets Groups Projects

ignore-file-size-gitlfs

Merged Martin Schroschk requested to merge ignore-file-size-gitlfs into preview
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -40,7 +40,7 @@ for f in $(git diff $source_hash --name-only); do
# This is a bit "Going around your elbow to get to your ear" by assuming that lfs files are
# ending with webm or mp4
if [[ "$f" =~ .*".webm" ]] || [[ "$f" =~ .*".mp4" ]] ; then
echo "Skip file in webm or mp4 format cause it is a git lfs file."
echo "Skip file ${f} in webm or mp4 format cause it is a git lfs file."
continue
fi
fs=$(wc -c $f | awk '{print $1}')
Loading