Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_frameworks_base
/
99ba880e55591b3bf2d96dd6f9520d1d37177925
/
.
/
tools
/
stringslint
/
stringslint_sha.sh
blob: bd056987319743066cf6aa7835ce6accecf3865f [
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
python3 $LOCAL_DIR
/
stringslint
.
py
<(
git show $1
:
$file
)
<(
git show $1
^:
$file
)
done