mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
881b03690d
Summary: Currently if VFS overwrites executable file with regular, it preserves exec bit[see added test]. This diff makes sure that file has correct permissions after overwrite This diff also slightly optimizes write_executable, by calling set_mode on the file handle, instead of path TODO - we can check if calling stats() before set_permissions will save some time Reviewed By: quark-zju Differential Revision: D26379824 fbshipit-source-id: 42d0b2fb79ed860ac37b2de077388002ade69449 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |