diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-16 10:33:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 10:33:57 -0400 |
commit | 0af18a6a4325d24bf4c386edb81c2f3776dab787 (patch) | |
tree | aa5d79b6b8f28f47a348cde946d72974df21adbe /scripts/vim-patch.sh | |
parent | 3566244d0e90d1efcf50d5136ab77d9a19aea9a1 (diff) | |
parent | 074745d9242acb6bba7252b13691afbe85439372 (diff) | |
download | rneovim-0af18a6a4325d24bf4c386edb81c2f3776dab787.tar.gz rneovim-0af18a6a4325d24bf4c386edb81c2f3776dab787.tar.bz2 rneovim-0af18a6a4325d24bf4c386edb81c2f3776dab787.zip |
Merge pull request #13097 from janlazo/vim-8.2.1850
vim-patch:8.2.1850
scripts/vim-patch.sh: include --shortstat with -m
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 03f52bd162..8287958ab5 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -597,8 +597,11 @@ list_missing_previous_vimpatches_for_patch() { set -u local -a missing_unique + local stat while IFS= read -r line; do - missing_unique+=("$line") + local commit="${line%%:*}" + stat="$(git -C "${VIM_SOURCE_DIR}" show --format= --shortstat "${commit}")" + missing_unique+=("$(printf '%s\n %s' "$line" "$stat")") done < <(printf '%s\n' "${missing_list[@]}" | sort -u) msg_err "$(printf '%d missing previous Vim patches:' ${#missing_unique[@]})" |