aboutsummaryrefslogtreecommitdiff
path: root/tests/git-pre-commit-common.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git-pre-commit-common.testscript')
-rw-r--r--tests/git-pre-commit-common.testscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-pre-commit-common.testscript b/tests/git-pre-commit-common.testscript
index ae8b9d4..6296839 100644
--- a/tests/git-pre-commit-common.testscript
+++ b/tests/git-pre-commit-common.testscript
@@ -4,7 +4,7 @@
# Set commonly-used variables and configure git to call the hook being tested.
# Assume that git-common.testscript is already included.
#
-gc = $gp commit -a --allow-empty-message -m ''
+gc = [cmdline] $gp commit -a --allow-empty-message -m ''
hooks_dir=$~/hooks
+mkdir $hooks_dir