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
Commits
fc6f5359
Commit
fc6f5359
authored
2 years ago
by
Martin Schroschk
Browse files
Options
Downloads
Patches
Plain Diff
Output file name of skipped filex
parent
acdc4b1b
No related branches found
Branches containing commit
No related tags found
2 merge requests
!679
Automated merge from preview to main
,
!658
ignore-file-size-gitlfs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/util/check-filesize.sh
+1
-1
1 addition, 1 deletion
doc.zih.tu-dresden.de/util/check-filesize.sh
with
1 addition
and
1 deletion
doc.zih.tu-dresden.de/util/check-filesize.sh
+
1
−
1
View file @
fc6f5359
...
@@ -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}'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment