mirror of
https://github.com/neovim/neovim.git
synced 2026-08-25 08:31:51 +00:00
fix(vim-patch): sync list_vimpatch_tokens(), list_vimpatch_numbers() #41440
Developer and CI may think a Vim patch is merged but list_vimpatch_numbers() and the "version.c" update suggest otherwise.
This commit is contained in:
@@ -582,7 +582,12 @@ list_vim_commits() { (
|
||||
# Prints all (sorted) "vim-patch:xxx" tokens found in the Nvim git log.
|
||||
list_vimpatch_tokens() {
|
||||
# Use sed…{7,7} to normalize (internal) Git hashes (for tokens caches).
|
||||
_git -C "${NVIM_SOURCE_DIR}" log -E --grep='vim-patch:[^ ,{]{7,}' \
|
||||
diff "${NVIM_SOURCE_DIR}/scripts/vimpatch_commit_ignore.txt" <(
|
||||
_git -C "${NVIM_SOURCE_DIR}" log --format="%H" -E --grep='vim-patch:[^ ,{]{7,}'
|
||||
) |
|
||||
grep -e '^> ' |
|
||||
sed -e 's/^> //' |
|
||||
_git -C "${NVIM_SOURCE_DIR}" log --no-walk --stdin \
|
||||
| grep -oE 'vim-patch:[^ ,{:]{7,}' \
|
||||
| sort \
|
||||
| uniq \
|
||||
|
||||
Reference in New Issue
Block a user