mirror of
https://github.com/neovim/neovim.git
synced 2026-01-17 10:38:57 +10:00
These changes enable tar.vim to keep permissions of files that were
edited intact instead of replacing them with the default permissions.
The major change for this is switching from "tar -OPxf", which reads out
the contents of the selected file from an tar archive to stdout to
"tar -pPxf" which extracts the selected file to the current directory
with permissions intact
This requirs the temporary directory to be created earlier.
closes: vim/vim#7379
129a8446d2
Co-authored-by: Lennart00 <73488709+Lennart00@users.noreply.github.com>