summaryrefslogtreecommitdiffstats
path: root/gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2
diff options
context:
space:
mode:
Diffstat (limited to 'gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2')
-rw-r--r--gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_22
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2 b/gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2
new file mode 100644
index 0000000..bafbf29
--- /dev/null
+++ b/gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2
@@ -0,0 +1,2 @@
+gitlint: checking commit message...
+Error: The 'staged' option (--staged) can only be used when using '--msg-filename' or when piping data to gitlint via stdin.