Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
aea302be
Unverified
Commit
aea302be
authored
May 05, 2025
by
Thomas J. Fan
Committed by
GitHub
May 05, 2025
Browse files
Use git-path commit in hook (#17616)
Signed-off-by:
Thomas J. Fan
<
thomasjpfan@gmail.com
>
parent
cc05b90d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.pre-commit-config.yaml
.pre-commit-config.yaml
+2
-2
No files found.
.pre-commit-config.yaml
View file @
aea302be
...
...
@@ -101,8 +101,8 @@ repos:
args
:
-
-c
-
|
if ! grep -q "^Signed-off-by: $(git config user.name) <$(git config user.email)>"
.git/
COMMIT_EDITMSG; then
printf "\nSigned-off-by: $(git config user.name) <$(git config user.email)>\n" >>
.git/
COMMIT_EDITMSG
if ! grep -q "^Signed-off-by: $(git config user.name) <$(git config user.email)>"
"$(git rev-parse --git-path
COMMIT_EDITMSG
)"
; then
printf "\nSigned-off-by: $(git config user.name) <$(git config user.email)>\n" >>
"$(git rev-parse --git-path
COMMIT_EDITMSG
)"
fi
language
:
system
verbose
:
true
...
...
Write
Preview
Markdown
is supported
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