Files
docker-images/bin/find_changes.sh
Udo Waechter 3ced13f704
All checks were successful
continuous-integration/drone/push Build is passing
whats happening
2024-04-21 16:15:00 +02:00

11 lines
199 B
Bash
Executable File

#!/bin/bash
CHANGES=()
git diff-tree --no-commit-id --name-only HEAD -r | \
while read line; do
CHANGES+=$(dirname ${line})
done
echo ${CHANGES}
UNIQ=$(echo ${CHANGES} |sort |uniq)
echo ${UNIQ}