lint: Rename lint-commits to keep tab-complete fast.

This commit is contained in:
Tim Abbott
2017-04-21 13:42:39 -07:00
parent ec8e47192a
commit 1883bff243
2 changed files with 1 additions and 1 deletions

12
tools/commit-message-lint Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Lints all commit messages that are newer than upstream/master.
# The rules can be found in /.gitlint
# If this script is running on TravisCI, $UPSTREAM_MASTER would be set to the
# latest HEAD in travis.yml
if [ ! $TRAVIS ]; then
UPSTREAM_MASTER=upstream/master
fi
gitlint --commits $UPSTREAM_MASTER...HEAD