Shougo / dpp.vim

Dark powered plugin manager for Vim/neovim
MIT License
128 stars 5 forks source link

Do not overwrite on merging to avoid permission errors #11

Closed hasundue closed 9 months ago

hasundue commented 9 months ago

In Linux (and probably MacOS as well) systems, merging causes permission errors on overwriting a file (like .gitignore) when a source directory is read-only, because copy in deno_std preserve the permissions of the original file for the copied one.

This PR proposes a possible solution, which simply disables overwriting and asserts the type of errors.

Feel free to ask me more information, or close the PR if it doesn't fit your favor.

Shougo commented 9 months ago

Merged.