This commit is contained in:
11
bin/find_changes.sh
Executable file
11
bin/find_changes.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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}
|
||||
Reference in New Issue
Block a user