https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39115

--- Comment #11 from Jonathan Druart <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to