liyujie
2025-08-28 786ff4f4ca2374bdd9177f2e24b503d43e7a3b93
1
2
3
4
#!/bin/bash
if git show --name-only --pretty=format: $1 | grep api/ > /dev/null; then
    python tools/apilint/apilint.py <(git show $1:api/current.txt) <(git show $1^:api/current.txt)
fi