From 1c6fc35c120ee79ecbd6f0b2a8e9598ec0c68128 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Jul 2022 20:38:15 +0300 Subject: Use [cmdline] type for canned commands in testscripts --- tests/git-pre-commit-common.testscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/git-pre-commit-common.testscript') 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 -- cgit v1.1