tqchen commented on pull request #7235: URL: https://github.com/apache/tvm/pull/7235#issuecomment-757060481
This is because of the difference between CI setting and local. In CI, origin points to the `apache/tvm`, so the CI script correctly points to ```origin/main```. When we format locally, a base is needed, and that is usually upstream/main. Alternatively, use ``` ./tests/lint/git-clang-format.sh -i HEAD~k ``` to format the last k commits, which always works ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
