tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z...@apache.org
Subject [incubator-tvm] 01/01: [DOC][FIX] Fix some typos in git-clang-format.sh
Date Fri, 12 Jun 2020 05:04:13 GMT
This is an automated email from the ASF dual-hosted git repository.

zhic pushed a commit to branch git-clang-format
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git

commit f1876c7b6e5c43e3fdc46ba81ffd554253652584
Author: Zhi <5145158+zhiics@users.noreply.github.com>
AuthorDate: Thu Jun 11 22:04:01 2020 -0700

    [DOC][FIX] Fix some typos in git-clang-format.sh
---
 tests/lint/git-clang-format.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/lint/git-clang-format.sh b/tests/lint/git-clang-format.sh
index 5d2c4f3..b1ae1bc 100755
--- a/tests/lint/git-clang-format.sh
+++ b/tests/lint/git-clang-format.sh
@@ -25,7 +25,7 @@ if [[ "$#" -lt 1 ]]; then
     echo "Run clang-format on files that changed since <commit>"
     echo "Examples:"
     echo "- Compare last one commit: tests/lint/git-clang-format.sh HEAD~1"
-    echo "- Compare against upstream/master: tests/lint/git-clang-format.sh upsstream/master"
+    echo "- Compare against upstream/master: tests/lint/git-clang-format.sh upstream/master"
     echo "You can also add -i option to do inplace format"
     exit 1
 fi
@@ -48,7 +48,7 @@ CLANG_FORMAT=clang-format-10
 if [ -x "$(command -v clang-format-10)" ]; then
     CLANG_FORMAT=clang-format-10
 elif [ -x "$(command -v clang-format)" ]; then
-    echo "clang-format might be different from clang-format-10, expect pontential difference."
+    echo "clang-format might be different from clang-format-10, expect potential difference."
     CLANG_FORMAT=clang-format
 else
     echo "Cannot find clang-format-10"
@@ -70,6 +70,6 @@ echo "---------clang-format log----------"
 cat /tmp/$$.clang-format.txt
 echo ""
 if grep --quiet -E "diff" < /tmp/$$.clang-format.txt; then
-    echo "clang-format lint error found. Consider run clang-format-10 on these files to fix
them."
+    echo "clang-format lint error found. Consider running clang-format-10 on these files
to fix them."
     exit 1
 fi


Mime
View raw message