From 59e5435f73c1dd3e66e87ccb5f3528acd9e9550b Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Tue, 26 Nov 2024 15:49:08 +0100 Subject: [PATCH] Remove unnecessary commit hooks --- src/archivist/recorder/repositories/git/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archivist/recorder/repositories/git/git.js b/src/archivist/recorder/repositories/git/git.js index dbcf2c5d..c7200699 100644 --- a/src/archivist/recorder/repositories/git/git.js +++ b/src/archivist/recorder/repositories/git/git.js @@ -46,7 +46,7 @@ export default class Git { process.env.GIT_AUTHOR_DATE = commitDate; process.env.GIT_COMMITTER_DATE = commitDate; - summary = await this.git.commit(message, filePath); + summary = await this.git.commit(message, filePath, ['--no-verify']); // Skip pre-commit and commit-msg hooks, as commits are programmatically managed, to optimize performance } finally { process.env.GIT_AUTHOR_DATE = ''; process.env.GIT_COMMITTER_DATE = '';