-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error message was confusing with silent enabled
If the silent option was enabled, no violations were printed. The error message then referred to non-existing "above violations".
- Loading branch information
1 parent
018f42e
commit e06dfe0
Showing
10 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_config_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
gitlint: checking commit message... | ||
----------------------------------------------- | ||
gitlint: Your commit message contains the above violations. | ||
gitlint: Your commit message contains violations. | ||
Continue with commit anyways (this keeps the current commit message)? [y(es)/n(no)/e(dit)] | ||
Aborted! |
6 changes: 3 additions & 3 deletions
6
gitlint/tests/expected/cli/test_cli_hooks/test_hook_edit_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_local_commit_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gitlint: checking commit message... | ||
----------------------------------------------- | ||
gitlint: Your commit message contains the above violations. | ||
gitlint: Your commit message contains violations. | ||
Continue with commit anyways (this keeps the current commit message)? [y(es)/n(no)/e(dit)] Editing only possible when --msg-filename is specified. |
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_tty_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
gitlint: checking commit message... | ||
----------------------------------------------- | ||
gitlint: Your commit message contains the above violations. | ||
gitlint: Your commit message contains violations. | ||
Continue with commit anyways (this keeps the current commit message)? [y(es)/n(no)/e(dit)] | ||
Aborted! |
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_violations_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
gitlint: checking commit message... | ||
----------------------------------------------- | ||
gitlint: Your commit message contains the above violations. | ||
gitlint: Your commit message contains violations. | ||
Continue with commit anyways (this keeps the current commit message)? [y(es)/n(no)/e(dit)] | ||
Aborted! |
2 changes: 1 addition & 1 deletion
2
gitlint/tests/expected/cli/test_cli_hooks/test_hook_yes_1_stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gitlint: checking commit message... | ||
----------------------------------------------- | ||
gitlint: Your commit message contains the above violations. | ||
gitlint: Your commit message contains violations. | ||
Continue with commit anyways (this keeps the current commit message)? [y(es)/n(no)/e(dit)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters