puli / issues

The Puli issue tracker.
90 stars 5 forks source link

Replace glob expansion setting with warning #191

Open gisostallenberg opened 8 years ago

gisostallenberg commented 8 years ago

A glob expansion does not happen when arguments are properly quoted, as can be seen in this example:

$ touch file1.ext file2.ext 
$ ls 'file*.ext'
ls: cannot access file*.ext: No such file or directory
$ ls file*.ext
file1.ext  file2.ext

I think having this properly configured on multiple environments/machines is harder than properly quote the arguments as is done with the ProcessBuilder for example.

I suggest replacing the documentation with a warning and add this warning at several relevant points in the documentation. Would you like me to look into this and prepare a PR?

webmozart commented 8 years ago

@gisostallenberg Yes, I'd appreciate that PR very much!