https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39115 --- Comment #11 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Jonathan Druart from comment #10)
Created attachment 177985 [details] [review] Bug 39115: Replace (:exclude) with --exclude
I don't really explain this one, but this is something wrong with (:exclude)
% git ls-files koha-tmpl/intranet-tmpl/js/i18n.js --exclude='koha-tmpl/intranet-tmpl/lib' --exclude='koha-tmpl/intranet-tmpl/js/Gettext.js' --exclude='koha-tmpl/opac-tmpl/lib' koha-tmpl/intranet-tmpl/js/i18n.js => Return the file has expected
% git ls-files koha-tmpl/intranet-tmpl/js/i18n.js ':(exclude)koha-tmpl/intranet-tmpl/lib' ':(exclude)koha-tmpl/intranet-tmpl/js/Gettext.js' ':(exclude)koha-tmpl/opac-tmpl/lib' => Does not return anything!
It seems that * --exclude filters after resolving the explicit file path * :(exclude) filters before resolving the file path, so even explicitly listed files can be excluded -- You are receiving this mail because: You are watching all bug changes.