diff options
author | Daniel Hahler <git@thequod.de> | 2020-01-26 15:21:33 +0100 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-15 22:51:19 -0400 |
commit | 82b09bc9d21e4b5c50105fac558da84af43e3470 (patch) | |
tree | 3b839d86c517dd6802bf5dde52db70eab899e298 /scripts/vim-patch.sh | |
parent | f319e4608eb544a1c3ca930095a316acf0768a10 (diff) | |
download | rneovim-82b09bc9d21e4b5c50105fac558da84af43e3470.tar.gz rneovim-82b09bc9d21e4b5c50105fac558da84af43e3470.tar.bz2 rneovim-82b09bc9d21e4b5c50105fac558da84af43e3470.zip |
scripts/vim-patch.sh: include --shortstat with -m
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 03f52bd162..fe6dcc1147 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -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[@]})" |