build(vim-patch.sh): use 7 hex digits for runtime patch file name (#29940)

7 digits are used in commit message, so also using this in patch file
name allows its proper deletion on PR creation.
This commit is contained in:
zeertzjq 2024-08-01 20:37:43 +08:00 committed by GitHub
parent d3019419e7
commit 3146433190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@ assign_commit_details() {
local munge_commit_line=true
else
# Interpret parameter as commit hash.
vim_version="${1:0:12}"
vim_version="${1:0:7}"
vim_tag=
vim_commit_ref="$vim_version"
local munge_commit_line=false