aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-01 20:37:43 +0800
committerGitHub <noreply@github.com>2024-08-01 20:37:43 +0800
commit3146433190803247ce0132fe08a8576f4e50f23d (patch)
treea65e06866e812674544569a20961b48afa7f653a /scripts/vim-patch.sh
parentd3019419e77669db4eb4959f673dff1d4963005e (diff)
downloadrneovim-3146433190803247ce0132fe08a8576f4e50f23d.tar.gz
rneovim-3146433190803247ce0132fe08a8576f4e50f23d.tar.bz2
rneovim-3146433190803247ce0132fe08a8576f4e50f23d.zip
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.
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh2
1 files changed, 1 insertions, 1 deletions
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