Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Hilsky
masterthesis
Commits
fec5d4af
Commit
fec5d4af
authored
Jan 12, 2022
by
Felix Hilsky
Browse files
don't rant about $$
parent
e8bf47c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/pre-commit
View file @
fec5d4af
...
...
@@ -77,7 +77,7 @@ check_file() {
for
file
in
$(
git diff
--cached
-p
--name-status
|
cut
-c3-
)
;
do
case
"
${
file
}
"
in
*
.md
)
echo
"check file
${
file
}
"
check_file
"
${
file
}
"
'[^`]\$[^$`]
*
\$'
;;
check_file
"
${
file
}
"
'[^`]\$[^$`]
\+
\$'
;;
esac
done
exit
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment