blob: bd80bb4e6f3f78fc2e2782d23d4b9af445afc5d7 [file] [log] [blame]
Jeff Sharkeyabe058c2018-03-26 09:38:01 -06001#!/bin/bash
Jeff Sharkeyc65461e2018-03-27 16:16:13 -06002LOCAL_DIR="$( dirname ${BASH_SOURCE} )"
Jeff Sharkeyabe058c2018-03-26 09:38:01 -06003git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do
Jeff Sharkeyc65461e2018-03-27 16:16:13 -06004 python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
Jeff Sharkeyabe058c2018-03-26 09:38:01 -06005done