removed changed_file_names
This commit is contained in:
parent
fb2d0cf506
commit
009b5c0170
@ -27,15 +27,6 @@ get_commit_for_blob () {
|
||||
echo $(git log --all --pretty=format:%H -- $1 | xargs -I{} bash -c "git ls-tree {} -- $1 | grep -q $1 && echo {}")
|
||||
}
|
||||
|
||||
changed_file_names () {
|
||||
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
|
||||
# add '/' prefix
|
||||
fn=$(echo $fn | awk '{ printf "/"$0 }')
|
||||
CHANGED_FILE_NAMES+=($fn)
|
||||
done
|
||||
}
|
||||
|
||||
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||
if grep -E -q "(DC.*json|dc.*hex|dc.*bin|tariff.*json)" <<< $fn; then
|
||||
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
|
||||
|
Loading…
Reference in New Issue
Block a user