Re: path = not supporting *

Mo B <[email protected]> Mon, 22 Jul 2024 03:13:31 -0700 (PDT)
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
On Friday, July 19, 2024 at 12:11:18 PM UTC+2 Tõivo Leedjärv wrote:

Interestingly, there _is_ code to expand path values in form of 
"dir/*" but not in form of "dir*". I don't know why that is and 
whether making the latter form work would cause any issues. 


Trying that, and you are right. But literally it doesn't make any 
difference adding

 path = subtree

OR

path = subtree/*

does it?
First one leads to

A              B                  
new dir  ---->            subtree  [f] 

while the second one iterates over

A              B                  
new dir  ---->            subtree/subdir_CC  [f] f
new dir  ---->            subtree/subdir_CD  [f] f

Or does it make a difference when going down that tree? I tried and it does 
not make a difference. Both would also walk down to deeper subdirs.
So the implementation of having globs patterns like subtree/* does not have 
any benefit.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].