1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00
This commit is contained in:
inv
2022-11-03 22:31:45 +03:00
parent 234ee68005
commit 4213cad6ed

2
get.sh
View File

@@ -17,8 +17,6 @@ echo "Getting commit whose hash matches the hash of commit with problematic file
for hash in $list ; do
list_changed_files=$(git diff-tree --no-commit-id --name-only -r $hash | sed 's/\// /g' | awk '{ print $NF }')
for changed_file in $list_changed_files; do
echo problem_file=$problem_file
echo changed_file=$changed_file
if [ "$problem_file" == "$changed_file" ] ; then
echo Reverting:
echo $(git log -1 --format=oneline $hash)