mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
* Added git hooks * Fixed hooks * Deleted old script file * Changed install-hooks to remove the symlink, generate script file to run over those in folder * Fixed slave script and removed test script * Added batch version of install-hooks * Fixed variable name typo that would cause script number to always be 1 * Added new hook install hooks Scripts will now install any new hooks after checkout, merge, or rebase. Fixed an issue with install-hooks.sh incorrectly assuming the working directory. Removed an unnecessary variable assign from install-hooks.bat
4 lines
105 B
Bash
4 lines
105 B
Bash
#!/bin/sh
|
|
|
|
REPO_ROOT=`git rev-parse --show-toplevel`
|
|
source "$REPO_ROOT/tools/git-hooks/install-hooks.sh" |