mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
test(repository): test against repo copied into tmp directory
This commit is contained in:
parent
9acf3a8a9e
commit
be680595bc
50 changed files with 1021 additions and 107 deletions
13
test/assets/testrepo/.gitdir/hooks/pre-merge-commit.sample
Executable file
13
test/assets/testrepo/.gitdir/hooks/pre-merge-commit.sample
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/sh
|
||||
#
|
||||
# An example hook script to verify what is about to be committed.
|
||||
# Called by "git merge" with no arguments. The hook should
|
||||
# exit with non-zero status after issuing an appropriate message to
|
||||
# stderr if it wants to stop the merge commit.
|
||||
#
|
||||
# To enable this hook, rename this file to "pre-merge-commit".
|
||||
|
||||
. git-sh-setup
|
||||
test -x "$GIT_DIR/hooks/pre-commit" &&
|
||||
exec "$GIT_DIR/hooks/pre-commit"
|
||||
:
|
Loading…
Add table
Add a link
Reference in a new issue