This is the fixed, reformatted patch to add the -m option to openrsync
Thanks to j...@openbsd.org for feedback on style and for reviewing.
Looking forward for feedback.
Index: extern.h
===
RCS file: /cvs/src/usr.bin/rsync/extern.h,v
r
Hello again, Job
Sorry for the recurring formatting and tab issues.
Here's the updated diff.
Index: extern.h
===
RCS file: /cvs/src/usr.bin/rsync/extern.h,v
retrieving revision 1.44
diff -u -p -u -p -r1.44 extern.h
--- extern.h2
-max-size
on the definition of size.
+.It Fl m , -prune-empty-dirs
+Prune empty directory chains from the file list.
.It Fl n , -dry-run
Do not actually modify the destination.
Mainly useful in combination with
On 2/22/23 10:36, Job Snijders wrote:
Dear Mohamed,
On Wed, Feb 22, 20
Hello,
This patch adds the -m/--prume-empty-dirs option to openrsync
while keeping said feature compatible with rsync
this avoids the 27 -> 31 protocol mismatch error by not sharing the -m option
to remote
This was tested locally (openrsync -> openrsync) and remotely (openrsync ->
rsync)
Sorry if