Skip to content

Commit 18a22cc

Browse files
committed
fix: remove unneeded git hooks config
1 parent e6c6b6d commit 18a22cc

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/server/git/controller.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ export const syncReposHandler = async ({
5959
config: [
6060
`user.name=pma[bot]`,
6161
`user.email=${input.source.octokit.installationId}+pma[bot]@users.noreply.github.com`,
62-
// Disable any global git hooks to prevent potential interference when running the app locally
63-
'core.hooksPath=/dev/null',
6462
],
6563
}
6664

src/server/repos/controller.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ export const createMirrorHandler = async ({
9494
`user.name=pma[bot]`,
9595
// We want to use the private installation ID as the email so that we can push to the private repo
9696
`user.email=${privateInstallationId}+pma[bot]@users.noreply.github.com`,
97-
// Disable any global git hooks to prevent potential interference when running the app locally
98-
'core.hooksPath=/dev/null',
9997
],
10098
}
10199
const git = simpleGit(tempDir, options)

0 commit comments

Comments
 (0)