blob: 2a45b10392d7c4167acefcc0805a4d4060f1f507 [file] [log] [blame]
Jason Monk53b2a732017-11-10 15:43:17 -05001#!/bin/bash
2if git show --name-only --pretty=format: $1 | grep api/ > /dev/null; then
3 python tools/apilint/apilint.py <(git show $1:api/current.txt) <(git show $1^:api/current.txt)
4fi