1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-25 05:37:37 +03:00

rearrange test repo generators

This commit is contained in:
Jesse Duffield
2018-08-12 15:54:59 +10:00
parent 7bfd8155c2
commit 98c22a36fd
9 changed files with 51 additions and 92 deletions

9
test/repos/pre_commit_hook.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -ex; rm -rf repo; mkdir repo; cd repo
git init
cp ../pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
echo "file" > file
git add file