]> OCCT Git - occt.git/commitdiff
Update integration
authorinv <igor.nazarov@opencascade.com>
Fri, 4 Nov 2022 10:27:23 +0000 (13:27 +0300)
committerinv <igor.nazarov@opencascade.com>
Fri, 4 Nov 2022 10:27:23 +0000 (13:27 +0300)
get.sh

diff --git a/get.sh b/get.sh
index 3e69ce379156d4bc728e65c4e2b25bce7976a5e6..f393b0703d7d4ae5eb91ce48ef6e263bf78dee7d 100644 (file)
--- a/get.sh
+++ b/get.sh
@@ -21,6 +21,8 @@ for hash in $list ; do
             echo Reverting: 
             echo $(git log -1 --format=oneline $hash)
             # git revert $hash
+            hash=$(echo $hash | head -c 10)
+            echo $hash
             git rebase --onto $hash^ $hash
         fi
     done