Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Merge requests
!658
ignore-file-size-gitlfs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ignore-file-size-gitlfs
ignore-file-size-gitlfs
into
preview
Overview
4
Commits
10
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
Merged
Martin Schroschk
requested to merge
ignore-file-size-gitlfs
into
preview
2 years ago
Overview
4
Commits
10
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
Expand
Resolves
#368 (closed)
Edited
2 years ago
by
Jan Frenzel
0
0
Merge request reports
Viewing commit
252a2118
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
252a2118
Apply 1 suggestion(s) to 1 file(s)
· 252a2118
Jan Frenzel
authored
2 years ago
doc.zih.tu-dresden.de/util/check-filesize.sh
+
1
−
1
Options
@@ -39,7 +39,7 @@ lfsfiles=$(git lfs ls-files -n)
for
f
in
$(
git diff
$source_hash
--name-only
)
;
do
# Do not check size of git lfs files.
if
[[
$lfsfiles
=
~
"
$f
"
]]
;
then
echo
"Skip file
${
f
}
in webm or mp4 format
cause it is a git lfs file."
echo
"Skip file
${
f
}
be
cause it is a git lfs file."
continue
fi
fs
=
$(
wc
-c
$f
|
awk
'{print $1}'
)
Loading