Files
2023-05-14 11:44:44 +00:00

6 lines
226 B
Bash
Executable File

#!/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