1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 06:58:01 +00:00

rsync: Remove broken HFS+ specific compression flag

Remove `--protect-decmpfs` by default since hfs-compression specific
changes have been marked by upstream as broken since 3.1.3 and there is
little likelihood of that changing.
This commit is contained in:
Indrajit Raychaudhuri 2021-05-03 16:11:55 -05:00 committed by Indrajit Raychaudhuri
parent 68300e6de4
commit 261d3b8224

View File

@ -24,10 +24,10 @@ if grep -q 'xattrs' <(rsync --help 2>&1); then
_rsync_cmd="${_rsync_cmd} --acls --xattrs"
fi
# macOS and HFS+ Enhancements
# macOS Enhancements
# https://bombich.com/kb/ccc5/credits
if is-darwin && grep -q 'file-flags' <(rsync --help 2>&1); then
_rsync_cmd="${_rsync_cmd} --crtimes --fileflags --protect-decmpfs --force-change"
_rsync_cmd="${_rsync_cmd} --crtimes --fileflags --force-change"
fi
alias rsync-copy="${_rsync_cmd}"