update-vim-runtime: also add deleted files to the index
[vim_extended.git] / update-vim-runtime.sh
blob79605bf0aacb18c09e5feb94838aa9470dd1c438
1 #!/bin/sh
3 # by Markus Heidelberg, 2008
5 # Fetch the current runtime files, commit them to the repository and show
6 # changes if available.
8 rsync -avzcP --delete \
9 --exclude="/dos/" \
10 --include="/spell/en.*.spl" \
11 --exclude="/spell/*.spl" \
12 --include="/spell/en.*.sug" \
13 --exclude="/spell/*.sug" \
14 ftp.nluug.nl::Vim/runtime/ runtime
16 git add --all -- runtime
18 git commit -m"update runtime files" &&
19 # show changes
20 { git show --stat -p
21 # look for garbage
22 git status ; }