Skip to content
Snippets Groups Projects
Commit fc6f5359 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Output file name of skipped filex

parent acdc4b1b
No related branches found
No related tags found
2 merge requests!679Automated merge from preview to main,!658ignore-file-size-gitlfs
...@@ -40,7 +40,7 @@ for f in $(git diff $source_hash --name-only); do ...@@ -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 # This is a bit "Going around your elbow to get to your ear" by assuming that lfs files are
# ending with webm or mp4 # ending with webm or mp4
if [[ "$f" =~ .*".webm" ]] || [[ "$f" =~ .*".mp4" ]] ; then 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 continue
fi fi
fs=$(wc -c $f | awk '{print $1}') fs=$(wc -c $f | awk '{print $1}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment