Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
2683a99d42ab6c34fcdc129200f99e6706a7a8e7
/
.
/
tools
/
stringslint
/
stringslint_sha.sh
blob: bd80bb4e6f3f78fc2e2782d23d4b9af445afc5d7 [
file
] [
log
] [
blame
]
#!/bin/bash
LOCAL_DIR
=
"$( dirname ${BASH_SOURCE} )"
git show
--
name
-
only
--
pretty
=
format
:
$1
|
grep values
/
strings
.
xml
|
while
read file
;
do
python $LOCAL_DIR
/
stringslint
.
py
<(
git show $1
:
$file
)
<(
git show $1
^:
$file
)
done