Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
b687c8a30502e4082493c3de87c3be084865b5e8
/
.
/
tools
/
apilint
/
apilint_sha.sh
blob: 2a45b10392d7c4167acefcc0805a4d4060f1f507 [
file
] [
log
] [
blame
]
#!/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