mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-12 18:03:13 +00:00
Key benefits of the new mapmerge include: multi-Z support, effective reuse of deleted keys, automatic handling of key overflow, and utilizing a git pre-commit hook to eliminate the need to run batch files manually.
15 lines
285 B
Batchfile
15 lines
285 B
Batchfile
@echo off
|
|
cd %~dp0
|
|
for %%f in (*.hook) do (
|
|
echo Installing hook: %%~nf
|
|
copy %%f ..\..\.git\hooks\%%~nf >nul
|
|
)
|
|
for %%f in (*.merge) do (
|
|
echo Installing merge driver: %%~nf
|
|
echo [merge "%%~nf"]^
|
|
|
|
driver = tools/hooks/%%f %%P %%O %%A %%B %%L >> ..\..\.git\config
|
|
)
|
|
echo Done
|
|
pause
|