mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
scripts/vim-patch.sh: include --shortstat with -m
This commit is contained in:
parent
f319e4608e
commit
82b09bc9d2
@ -598,7 +598,9 @@ list_missing_previous_vimpatches_for_patch() {
|
||||
|
||||
local -a missing_unique
|
||||
while IFS= read -r line; do
|
||||
missing_unique+=("$line")
|
||||
local commit="${line%%:*}"
|
||||
local 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[@]})"
|
||||
|
Loading…
Reference in New Issue
Block a user