diff --git a/dev/patchbot/scripts/post-ai.sh b/dev/patchbot/scripts/post-ai.sh index 3662fc85e..cfd21a00a 100755 --- a/dev/patchbot/scripts/post-ai.sh +++ b/dev/patchbot/scripts/post-ai.sh @@ -380,7 +380,7 @@ for patch in "${PATCHES[@]}"; do resp=$(echo "$resp" | sed -e "s|#\([0-9]\{1,5\}\)|#\1|g") # put links to commit IDs - resp=$(echo "$resp" | sed -e "s|\([0-9a-f]\{8,40\}\)|\1|g") + resp=$(echo "$resp" | sed -e "s|\([0-9a-f]\{7,40\}\)|\1|g") echo -n "