Unverified Commit 666f18cc authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

ci/check-cherry-picks: fix indent of truncation marker (#415221)

parents e837c219 ca577595
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ while read -r new_commit_sha ; do
          # consider this too unlikely to happen, to deal with explicitly.
          max_length=10000
          if [ "${#diff}" -gt $max_length ]; then
            printf -v diff "%s\n\n[...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)"
            printf -v diff "%s\n>\n> [...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)"
          fi
          echo "$diff" >> $markdown_file
          echo '> ```' >> $markdown_file