Sync shared snapshot from df68167

This commit is contained in:
Gabriel20xx committed 2026-08-06 16:53:48 +02:00
1 parent 588ef139a6
commit 06efc832ca
79 files changed
+10035 -3

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
$ErrorActionPreference = 'Stop'
$repositoryRoot = (& git -C $PSScriptRoot rev-parse --show-toplevel).Trim()
if ($LASTEXITCODE -ne 0 -or [string]::IsNullOrWhiteSpace($repositoryRoot)) {
throw 'Could not locate the shared Git repository.'
}
& git -C $repositoryRoot config core.hooksPath .githooks
if ($LASTEXITCODE -ne 0) {
throw 'Could not configure the shared Git hooks path.'
}
Write-Host "Installed shared post-commit synchronization hook in $repositoryRoot."