diff --git a/docs/testing/testing.md b/docs/testing/testing.md index 41771eb751..039274c602 100644 --- a/docs/testing/testing.md +++ b/docs/testing/testing.md @@ -117,7 +117,7 @@ something valuable to helping keep Zulip bug-free. - Or, when running the test suite, if you get an error involving Git that looks like this: ``` - commit_messages| An error occurred while executing '/usr/bin/git rev-list --max-count=-1 upstream/master..HEAD': b"fatal: ambiguous argument 'upstream/master..HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git [...] -- [...]'" + gitlint| An error occurred while executing '/usr/bin/git rev-list --max-count=-1 upstream/master..HEAD': b"fatal: ambiguous argument 'upstream/master..HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git [...] -- [...]'" ``` ... then you may need to connect the Zulip upstream repository with the following command: diff --git a/tools/lint b/tools/lint index bd58150e4a..b11acfb404 100755 --- a/tools/lint +++ b/tools/lint @@ -98,7 +98,7 @@ def run(): # Disabled check for imperative mood until it is stabilized if 'gitlint' not in args.skip: - linter_config.external_linter('commit_messages', ['tools/commit-message-lint']) + linter_config.external_linter('gitlint', ['tools/commit-message-lint']) @linter_config.lint def custom_py():