@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / aea302be6c
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 15, 12:15 UTC

Use git-path commit in hook (#17616)

Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>

Thomas J. Fan committed May 5, 2025 at 13:55 UTC aea302be6c3c323207502a973fe341c3bcf7288f
1 file changed +2 -2
.pre-commit-config.yaml
+2 -2
@@ -101,8 +101,8 @@ repos:
101 args:
102 - -c
103 - |
104 - if ! grep -q "^Signed-off-by: $(git config user.name) <$(git config user.email)>" .git/COMMIT_EDITMSG; then
105 - printf "\nSigned-off-by: $(git config user.name) <$(git config user.email)>\n" >> .git/COMMIT_EDITMSG
104 + if ! grep -q "^Signed-off-by: $(git config user.name) <$(git config user.email)>" "$(git rev-parse --git-path COMMIT_EDITMSG)"; then
105 + printf "\nSigned-off-by: $(git config user.name) <$(git config user.email)>\n" >> "$(git rev-parse --git-path COMMIT_EDITMSG)"
106 fi
107 language: system
108 verbose: true