From 3146433190803247ce0132fe08a8576f4e50f23d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 1 Aug 2024 20:37:43 +0800 Subject: [PATCH] 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. --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 6d426010a7..c02aab327b 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -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