From 261d3b8224c190d3802ba5acec6ff6a586d2a3f3 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Mon, 3 May 2021 16:11:55 -0500 Subject: [PATCH] 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. --- modules/rsync/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rsync/init.zsh b/modules/rsync/init.zsh index 79432c12..e73e6dbc 100644 --- a/modules/rsync/init.zsh +++ b/modules/rsync/init.zsh @@ -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}"