aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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