Commit 7bd17331 authored by madengji's avatar madengji Committed by vipwzw

check large file

parent 1d25db66
......@@ -40,8 +40,8 @@ for y in $objects; do
# extract the SHA
sha=$(echo "$y" | cut -f 1 -d ' ')
if [[ ! $history =~ $sha ]]; then
echo "over size = $sha"
if [ $size -ge 2000 ]; then
echo "over size file = $sha"
oversize="true"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment